Explorar o código

TextureRegionEditor Fix not updating on editing region with autoslice cached

(cherry picked from commit 019c99e5385a3f0055bc4e72b2c48b9cf0a0442d)
kleonc %!s(int64=4) %!d(string=hai) anos
pai
achega
dfee7e71c7
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      editor/plugins/texture_region_editor_plugin.cpp

+ 0 - 1
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();