From 671e97d254632f9f7230c7bd8458662eb27c8743 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. --- 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 cd69c1e6f99..8892d13f51e 100644 --- a/editor/plugins/texture_region_editor_plugin.cpp +++ b/editor/plugins/texture_region_editor_plugin.cpp @@ -1030,6 +1030,7 @@ TextureRegionEditor::TextureRegionEditor(EditorNode *p_editor) { hscroll->connect("value_changed", callable_mp(this, &TextureRegionEditor::_scroll_changed)); updating_scroll = false; + autoslice_is_dirty = true; } void TextureRegionEditorPlugin::edit(Object *p_object) {