You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-23 15:16:17 +00:00
TextureRegionEditor Fix not updating on editing region with autoslice cached
(cherry picked from commit 019c99e538)
This commit is contained in:
@@ -951,7 +951,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();
|
||||||
|
|||||||
Reference in New Issue
Block a user