فهرست منبع

TextureRegion: fixed Autoslice not created/updated properly.

dankan1890 5 سال پیش
والد
کامیت
671e97d254
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      editor/plugins/texture_region_editor_plugin.cpp

+ 1 - 0
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) {