From b3f22ec03ce92496389c707052b4f81c738fbf56 Mon Sep 17 00:00:00 2001 From: Yuri Rubinsky Date: Thu, 17 Nov 2022 18:48:41 +0300 Subject: Prevent stack overflow when setting a shader global value --- editor/shader_globals_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor') 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; -- cgit v1.2.3