소스 검색

fix object select API

Lu Jiacheng 6 년 전
부모
커밋
f862467742
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      io_scene_godot/export_godot.py

+ 1 - 1
io_scene_godot/export_godot.py

@@ -159,7 +159,7 @@ class GodotExporter:
             if not obj.visible_get():
                 return False
 
-        if self.config["use_export_selected"] and not obj.select:
+        if self.config["use_export_selected"] and not obj.select_get():
             return False
 
         self.exporting_objects.add(obj)