summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-06-01 14:47:47 +0200
committerGitHub <noreply@github.com>2021-06-01 14:47:47 +0200
commitc882b6fab79ded2fdc7cae0a0d904d1cd3cbbf6e (patch)
tree5d817de1bf5ea5fcb830c4efad9263c3d6101a5a
parenta74498309471e950668596eb50b0dd0d2a996dde (diff)
parent019c99e5385a3f0055bc4e72b2c48b9cf0a0442d (diff)
Merge pull request #49236 from kleonc/texture_region_editor-edit_region-updating-fix
TextureRegionEditor Fix not updating on editing region with autoslice cached
-rw-r--r--editor/plugins/texture_region_editor_plugin.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/editor/plugins/texture_region_editor_plugin.cpp b/editor/plugins/texture_region_editor_plugin.cpp
index 62ecdb8c32..9526160674 100644
--- a/editor/plugins/texture_region_editor_plugin.cpp
+++ b/editor/plugins/texture_region_editor_plugin.cpp
@@ -937,7 +937,6 @@ void TextureRegionEditor::_edit_region() {
if (cache_map.has(texture->get_rid())) {
autoslice_cache = cache_map[texture->get_rid()];
autoslice_is_dirty = false;
- return;
} else {
if (is_visible() && snap_mode == SNAP_AUTOSLICE) {
_update_autoslice();