diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-04-06 11:28:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-06 11:28:18 +0200 |
commit | 32d9d6e7ff93fd584f00479a5ffad1d0829ad643 (patch) | |
tree | d77e36cee51378293407208e617724a1f981bc19 | |
parent | 5b57eeaaec4362faddbfd84d11df87abdf2d13e9 (diff) | |
parent | 671e97d254632f9f7230c7bd8458662eb27c8743 (diff) |
Merge pull request #37621 from dankan1890/autoslice_fix
Fixed TextureRegion autoslice issue.
-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) { |