提交 0a8472f8 编写于 作者: J Joost Faassen

Blender camera export fix

Export all cameras in `generate_cameras`, not just the selected one.
上级 f396baf5
......@@ -2081,7 +2081,7 @@ def generate_cameras(data):
if data["use_cameras"]:
cams = bpy.data.objects
cams = [ob for ob in cams if (ob.type == 'CAMERA' and ob.select)]
cams = [ob for ob in cams if (ob.type == 'CAMERA')]
if not cams:
camera = DEFAULTS["camera"]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册