TextureRegion: fixed Autoslice not created/updated properly.
(cherry picked from commit 671e97d254
)
This commit is contained in:
parent
9dcf9da205
commit
657f12edcc
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue