mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-04-25 15:34:48 -05:00
Fix duplication of macro not copying references to macros or segments
This commit is contained in:
parent
2806fd6cdb
commit
18769df2ca
|
|
@ -596,6 +596,7 @@ void AdvSceneSwitcher::CopyMacro()
|
||||||
obs_data_t *data = obs_data_create();
|
obs_data_t *data = obs_data_create();
|
||||||
macro->Save(data);
|
macro->Save(data);
|
||||||
newMacro->Load(data);
|
newMacro->Load(data);
|
||||||
|
newMacro->PostLoad();
|
||||||
newMacro->SetName(name);
|
newMacro->SetName(name);
|
||||||
obs_data_release(data);
|
obs_data_release(data);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user