mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05:00
Prevent stack overflow when setting a shader global value
This commit is contained in:
@@ -111,7 +111,7 @@ protected:
|
||||
undo_redo->add_do_method(this, "_var_changed");
|
||||
undo_redo->add_undo_method(this, "_var_changed");
|
||||
block_update = true;
|
||||
undo_redo->commit_action();
|
||||
undo_redo->commit_action(false);
|
||||
block_update = false;
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user