mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-14 11:49:59 +01:00
BugFix Session Group creation
Duplicate Action history store can cause crash
This commit is contained in:
@@ -779,12 +779,8 @@ void Mixer::groupAll()
|
|||||||
// NB: sessiongroup will be updated and inserted to Mixing view on next frame
|
// NB: sessiongroup will be updated and inserted to Mixing view on next frame
|
||||||
addSource(sessiongroup);
|
addSource(sessiongroup);
|
||||||
|
|
||||||
// store in action manager
|
// inform of creation
|
||||||
std::ostringstream info;
|
Log::Info("Source '%s' created with %s", sessiongroup->name().c_str(), sessiongroup->info().c_str());
|
||||||
info << sessiongroup->name() << " inserted: " << sessiongroup->session()->numSource() << " sources flatten.";
|
|
||||||
Action::manager().store(info.str());
|
|
||||||
|
|
||||||
Log::Notify("Added source '%s' with %s", sessiongroup->name().c_str(), sessiongroup->info().c_str());
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
delete sessiongroup;
|
delete sessiongroup;
|
||||||
|
|||||||
Reference in New Issue
Block a user