Преглед на файлове

Merge pull request #4649 from HashNuke/fix_indentation_in_blender_exporter

Fix indentation in Blender exporter script
Mr.doob преди 11 години
родител
ревизия
1ad96b86fd
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      utils/exporters/blender/2.65/scripts/addons/io_mesh_threejs/export_threejs.py

+ 2 - 2
utils/exporters/blender/2.65/scripts/addons/io_mesh_threejs/export_threejs.py

@@ -2170,8 +2170,8 @@ def generate_cameras(data):
                     "position"  : generate_vec3([cameraobj.location[0], -cameraobj.location[1], cameraobj.location[2]], data["flipyz"]),
                     "position"  : generate_vec3([cameraobj.location[0], -cameraobj.location[1], cameraobj.location[2]], data["flipyz"]),
                     "target"    : generate_vec3([0, 0, 0])
                     "target"    : generate_vec3([0, 0, 0])
                     }
                     }
-		
-		elif camera.id_data.type == "ORTHO":
+
+            elif camera.id_data.type == "ORTHO":
 
 
                     camera_string = TEMPLATE_CAMERA_ORTHO % {
                     camera_string = TEMPLATE_CAMERA_ORTHO % {
                     "camera_id" : generate_string(camera.name),
                     "camera_id" : generate_string(camera.name),