Merge pull request #68799 from Chaosus/shader_fix

Prevent stack overflow when setting a shader global value
This commit is contained in:
Rémi Verschelde 2022-11-18 16:21:18 +01:00
commit c36691394a
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 1 deletions

View File

@ -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;