Browse Source

Merge branch 'master' of github.com:pxf/three.js

Jhonny Göransson 14 years ago
parent
commit
1049e34b11

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

@@ -1410,7 +1410,7 @@ def generate_cameras(data):
                     "aspect"    : 1.333,
                     "near"      : camera.clip_start,
                     "far"       : camera.clip_end,
-                    "position"  : generate_vec3([cameraobj.location[0], cameraobj.location[2], cameraobj.location[1]]),
+                    "position"  : generate_vec3([cameraobj.location[0], -cameraobj.location[1], cameraobj.location[2]]),
                     "target"    : generate_vec3([0, 0, 0])
                     }