소스 검색

TextureRegionEditor Fix not updating on editing region with autoslice cached

kleonc 4 년 전
부모
커밋
019c99e538
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      editor/plugins/texture_region_editor_plugin.cpp

+ 0 - 1
editor/plugins/texture_region_editor_plugin.cpp

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