TextureRegion: fixed Autoslice not created/updated properly.

This commit is contained in:
dankan1890 2020-04-06 03:48:23 +02:00
parent 94fab21348
commit 671e97d254
1 changed files with 1 additions and 0 deletions

View File

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