You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Merge pull request #68799 from Chaosus/shader_fix
Prevent stack overflow when setting a shader global value
This commit is contained in:
@@ -111,7 +111,7 @@ protected:
|
|||||||
undo_redo->add_do_method(this, "_var_changed");
|
undo_redo->add_do_method(this, "_var_changed");
|
||||||
undo_redo->add_undo_method(this, "_var_changed");
|
undo_redo->add_undo_method(this, "_var_changed");
|
||||||
block_update = true;
|
block_update = true;
|
||||||
undo_redo->commit_action();
|
undo_redo->commit_action(false);
|
||||||
block_update = false;
|
block_update = false;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user