diff options
author | dankan1890 <mewuidev2@gmail.com> | 2020-04-06 03:48:23 +0200 |
---|---|---|
committer | dankan1890 <mewuidev2@gmail.com> | 2020-04-06 10:36:59 +0200 |
commit | 671e97d254632f9f7230c7bd8458662eb27c8743 (patch) | |
tree | fbcfd1118640f7c8cdcaea1325318246fa82344a | |
parent | 94fab213482fd944debc50e255e7b395d391cc33 (diff) |
TextureRegion: fixed Autoslice not created/updated properly.
-rw-r--r-- | editor/plugins/texture_region_editor_plugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/texture_region_editor_plugin.cpp b/editor/plugins/texture_region_editor_plugin.cpp index cd69c1e6f9..8892d13f51 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) { |