浏览代码

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)