Fixed initialization of source and of SessionSource; sources are ready

after full initialization and in standly. A new button allows playing
the source (media or session) in the new source pannel.
This commit is contained in:
brunoherbelin
2020-07-19 19:03:49 +02:00
parent 71a3de644d
commit d916bb5706
11 changed files with 108 additions and 59 deletions

View File

@@ -277,6 +277,9 @@ void ImGuiVisitor::visit (Source& s)
// geometry direct control
s.groupNode(View::GEOMETRY)->accept(*this);
if ( s.numClones() > 0 ) {
ImGui::Text("Cloned %d time%s", s.numClones(), s.numClones() > 1 ? "s." : ".");
}
}
void ImGuiVisitor::visit (MediaSource& s)