mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-12 12:18:35 -05:00
Add support to resolve variables on action queue add
This commit is contained in:
@@ -119,6 +119,22 @@ bool MacroActionProjector::Load(obs_data_t *obj)
|
||||
return true;
|
||||
}
|
||||
|
||||
std::shared_ptr<MacroAction> MacroActionProjector::Create(Macro *m)
|
||||
{
|
||||
return std::make_shared<MacroActionProjector>(m);
|
||||
}
|
||||
|
||||
std::shared_ptr<MacroAction> MacroActionProjector::Copy() const
|
||||
{
|
||||
return std::make_shared<MacroActionProjector>(*this);
|
||||
}
|
||||
|
||||
void MacroActionProjector::ResolveVariablesToFixedValues()
|
||||
{
|
||||
_source.ResolveVariables();
|
||||
_scene.ResolveVariables();
|
||||
}
|
||||
|
||||
void MacroActionProjector::SetMonitor(int idx)
|
||||
{
|
||||
_monitor = idx;
|
||||
|
||||
Reference in New Issue
Block a user