diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-05-09 22:47:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-09 22:47:44 +0200 |
commit | a12fe31e1f28ad5c4f4f0ea2f1c600aa4e34eb74 (patch) | |
tree | 88ca90df55352b0800b677535dff12a504dd7f78 /editor/plugins | |
parent | d3d58e7cc70b13dd04e605baba77c10ad16b39e1 (diff) | |
parent | 8177a8d35809d9ddb80ca2b7ac90336b28c31f30 (diff) |
Merge pull request #60873 from KoBeWi/ded
Diffstat (limited to 'editor/plugins')
-rw-r--r-- | editor/plugins/texture_region_editor_plugin.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/editor/plugins/texture_region_editor_plugin.cpp b/editor/plugins/texture_region_editor_plugin.cpp index 455592aa26..74c96e19d0 100644 --- a/editor/plugins/texture_region_editor_plugin.cpp +++ b/editor/plugins/texture_region_editor_plugin.cpp @@ -921,12 +921,6 @@ void TextureRegionEditor::edit(Object *p_obj) { atlas_tex = Ref<AtlasTexture>(nullptr); } edit_draw->update(); - if ((node_sprite_2d && !node_sprite_2d->is_region_enabled()) || (node_sprite_3d && !node_sprite_3d->is_region_enabled())) { - set_process(true); - } - if (!p_obj) { - set_process(false); - } } void TextureRegionEditor::_texture_changed() { |