summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-04-06 11:28:18 +0200
committerGitHub <noreply@github.com>2020-04-06 11:28:18 +0200
commit32d9d6e7ff93fd584f00479a5ffad1d0829ad643 (patch)
treed77e36cee51378293407208e617724a1f981bc19
parent5b57eeaaec4362faddbfd84d11df87abdf2d13e9 (diff)
parent671e97d254632f9f7230c7bd8458662eb27c8743 (diff)
Merge pull request #37621 from dankan1890/autoslice_fix
Fixed TextureRegion autoslice issue.
-rw-r--r--editor/plugins/texture_region_editor_plugin.cpp1
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) {