Browse Source

Merge branch 'blender-camera-export-fix' of https://github.com/joostfaassen/three.js into dev

Mr.doob 11 years ago
parent
commit
3358b687c7

+ 1 - 1
utils/exporters/blender/2.66/scripts/addons/io_mesh_threejs/export_threejs.py

@@ -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"]