mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 20:29:35 +01:00
add debug-message to track down missing Sources
This commit is contained in:
parent
4818621a27
commit
7c69b0ab82
1 changed files with 10 additions and 0 deletions
|
|
@ -979,9 +979,19 @@ Session::state (bool full_state)
|
|||
|
||||
if (!fs->destructive()) {
|
||||
if (fs->empty() && !fs->used()) {
|
||||
#ifndef NDEBUG
|
||||
cerr << "DEBUG: source '"
|
||||
<< fs->name() << "' id: "
|
||||
<< fs->id() << " is marked as empty and unused and is not saved.\n";
|
||||
#endif
|
||||
continue;
|
||||
}
|
||||
}
|
||||
#ifndef NDEBUG
|
||||
cerr << "DEBUG: saving source '"
|
||||
<< fs->name() << "' id: "
|
||||
<< fs->id() << ".\n";
|
||||
#endif
|
||||
|
||||
child->add_child_nocopy (siter->second->get_state());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue