Prevent stack overflow when setting a shader global value

This commit is contained in:
Yuri Rubinsky 2022-11-17 18:48:41 +03:00
parent 49cc12bf89
commit b3f22ec03c

View file

@ -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;