TextureRegion: fixed Autoslice not created/updated properly.

(cherry picked from commit 671e97d254)
This commit is contained in:
dankan1890 2020-04-06 03:48:23 +02:00 committed by Rémi Verschelde
parent 9dcf9da205
commit 657f12edcc
1 changed files with 1 additions and 0 deletions

View File

@ -1043,6 +1043,7 @@ TextureRegionEditor::TextureRegionEditor(EditorNode *p_editor) {
hscroll->connect("value_changed", this, "_scroll_changed"); hscroll->connect("value_changed", this, "_scroll_changed");
updating_scroll = false; updating_scroll = false;
autoslice_is_dirty = true;
} }
void TextureRegionEditorPlugin::edit(Object *p_object) { void TextureRegionEditorPlugin::edit(Object *p_object) {