TextureRegionEditor Fix not updating on editing region with autoslice cached

(cherry picked from commit 019c99e538)
This commit is contained in:
kleonc 2021-06-01 12:17:32 +02:00 committed by Rémi Verschelde
parent 471c0ba700
commit dfee7e71c7
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

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