Fix duplication of macro not copying references to macros or segments

This commit is contained in:
WarmUpTill 2023-03-20 20:47:47 +01:00 committed by WarmUpTill
parent 2806fd6cdb
commit 18769df2ca

View File

@ -596,6 +596,7 @@ void AdvSceneSwitcher::CopyMacro()
obs_data_t *data = obs_data_create();
macro->Save(data);
newMacro->Load(data);
newMacro->PostLoad();
newMacro->SetName(name);
obs_data_release(data);