Add undo / redo support for macros
Some checks failed
debian-build / build (push) Has been cancelled
Check locale / ubuntu64 (push) Has been cancelled
Push to master / Check Formatting 🔍 (push) Has been cancelled
Push to master / Build Project 🧱 (push) Has been cancelled
Push to master / Create Release 🛫 (push) Has been cancelled

This commit is contained in:
WarmUpTill
2026-08-12 11:48:53 +02:00
committed by WarmUpTill
parent afd9154c84
commit 7ea944e1a3
17 changed files with 1768 additions and 20 deletions

View File

@@ -797,6 +797,11 @@ std::shared_ptr<Macro> Macro::Parent() const
return _parent.lock();
}
void Macro::SetNestedParentMacro(Macro *parent)
{
_nestedParentMacro = parent;
}
bool Macro::Save(obs_data_t *obj, bool saveForCopy) const
{
if (!saveForCopy) {