From dfee7e71c71e1c1385ebc128223a536a239ebb25 Mon Sep 17 00:00:00 2001 From: kleonc <9283098+kleonc@users.noreply.github.com> Date: Tue, 1 Jun 2021 12:17:32 +0200 Subject: [PATCH] TextureRegionEditor Fix not updating on editing region with autoslice cached (cherry picked from commit 019c99e5385a3f0055bc4e72b2c48b9cf0a0442d) --- editor/plugins/texture_region_editor_plugin.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/editor/plugins/texture_region_editor_plugin.cpp b/editor/plugins/texture_region_editor_plugin.cpp index 6df781aca3b..9552efdeb8d 100644 --- a/editor/plugins/texture_region_editor_plugin.cpp +++ b/editor/plugins/texture_region_editor_plugin.cpp @@ -951,7 +951,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();