1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

TextureRegionEditor Fix not updating on editing region with autoslice cached

This commit is contained in:
kleonc
2021-06-01 12:17:32 +02:00
parent 4c1d555b9a
commit 019c99e538

View File

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