Merge pull request #49236 from kleonc/texture_region_editor-edit_region-updating-fix

TextureRegionEditor Fix not updating on editing region with autoslice cached
This commit is contained in:
Rémi Verschelde 2021-06-01 14:47:47 +02:00 committed by GitHub
commit c882b6fab7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -937,7 +937,6 @@ void TextureRegionEditor::_edit_region() {
if (cache_map.has(texture->get_rid())) { if (cache_map.has(texture->get_rid())) {
autoslice_cache = cache_map[texture->get_rid()]; autoslice_cache = cache_map[texture->get_rid()];
autoslice_is_dirty = false; autoslice_is_dirty = false;
return;
} else { } else {
if (is_visible() && snap_mode == SNAP_AUTOSLICE) { if (is_visible() && snap_mode == SNAP_AUTOSLICE) {
_update_autoslice(); _update_autoslice();