From 657f12edcc65ce6f031704eaa2d190e6f8200afe Mon Sep 17 00:00:00 2001 From: dankan1890 Date: Mon, 6 Apr 2020 03:48:23 +0200 Subject: [PATCH] TextureRegion: fixed Autoslice not created/updated properly. (cherry picked from commit 671e97d254632f9f7230c7bd8458662eb27c8743) --- editor/plugins/texture_region_editor_plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/plugins/texture_region_editor_plugin.cpp b/editor/plugins/texture_region_editor_plugin.cpp index 94aef60f1ff..c359262a8d2 100644 --- a/editor/plugins/texture_region_editor_plugin.cpp +++ b/editor/plugins/texture_region_editor_plugin.cpp @@ -1043,6 +1043,7 @@ TextureRegionEditor::TextureRegionEditor(EditorNode *p_editor) { hscroll->connect("value_changed", this, "_scroll_changed"); updating_scroll = false; + autoslice_is_dirty = true; } void TextureRegionEditorPlugin::edit(Object *p_object) {