summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorYuri Rubinsky <chaosus89@gmail.com>2022-11-17 18:48:41 +0300
committerYuri Rubinsky <chaosus89@gmail.com>2022-11-17 19:12:04 +0300
commitb3f22ec03ce92496389c707052b4f81c738fbf56 (patch)
tree75384401ff7413605ac545add0286c19164b94ae /editor
parent49cc12bf89689c35f0d867790a25fb3112899a6d (diff)
Prevent stack overflow when setting a shader global value
Diffstat (limited to 'editor')
-rw-r--r--editor/shader_globals_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/shader_globals_editor.cpp b/editor/shader_globals_editor.cpp
index 596b3eefba..9b82e80072 100644
--- a/editor/shader_globals_editor.cpp
+++ b/editor/shader_globals_editor.cpp
@@ -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;