diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-18 16:21:18 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-18 16:21:18 +0100 |
commit | c36691394ab4b4b4670703eaff9891f781d99f3f (patch) | |
tree | ce92c840bc56df19f92324f02141c9129b63e48d /editor | |
parent | c3132b42cb9108379914ad71cd09cf723af7c760 (diff) | |
parent | b3f22ec03ce92496389c707052b4f81c738fbf56 (diff) |
Merge pull request #68799 from Chaosus/shader_fix
Prevent stack overflow when setting a shader global value
Diffstat (limited to 'editor')
-rw-r--r-- | editor/shader_globals_editor.cpp | 2 |
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; |