Clone with copy attributes

Two modes of cloning: from the source panel with 'Clone & filter' clones with copy of attributes (geometry, alpha, etc.), from the Insert source panel with 'Internal' source creates a fresh new copy.
This commit is contained in:
Bruno Herbelin
2022-08-07 11:13:45 +02:00
parent 8cb0d57ffe
commit bdc1920166
3 changed files with 14 additions and 6 deletions

View File

@@ -6652,7 +6652,7 @@ void Navigator::RenderNewPannel()
label = std::string("Source ") + (*iter)->initials() + " - " + (*iter)->name();
if (ImGui::Selectable( label.c_str() )) {
label = std::string("Clone of ") + label;
new_source_preview_.setSource( Mixer::manager().createSourceClone((*iter)->name()),label);
new_source_preview_.setSource( Mixer::manager().createSourceClone((*iter)->name(), false),label);
}
}
ImGui::EndCombo();