mirror of
https://github.com/godotengine/godot
synced 2024-09-15 22:10:09 +00:00
Prevent stack overflow when setting a shader global value
This commit is contained in:
parent
49cc12bf89
commit
b3f22ec03c
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue