mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
Fix nested macro PostLoad being called too early
Would lead to macro dependent settings potentially being lost
This commit is contained in:
parent
7901a988af
commit
c4f70657d9
|
|
@ -139,7 +139,6 @@ bool MacroActionMacro::Load(obs_data_t *obj)
|
|||
OBSDataAutoRelease nestedMacroData =
|
||||
obs_data_get_obj(obj, "nestedMacro");
|
||||
_nestedMacro->Load(nestedMacroData);
|
||||
_nestedMacro->PostLoad();
|
||||
}
|
||||
|
||||
_customWidgetHeight = obs_data_get_int(obj, "customWidgetHeight");
|
||||
|
|
@ -152,6 +151,7 @@ bool MacroActionMacro::PostLoad()
|
|||
MacroRefAction::PostLoad();
|
||||
MacroAction::PostLoad();
|
||||
_runOptions.macro.PostLoad();
|
||||
_nestedMacro->PostLoad();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user