Browse Source

fix bug where converter broke when flattening fbx models (#9380)

Anup Bishnoi 9 years ago
parent
commit
7a985fe294
1 changed files with 2 additions and 1 deletions
  1. 2 1
      utils/converters/fbx/convert_to_threejs.py

+ 2 - 1
utils/converters/fbx/convert_to_threejs.py

@@ -1505,7 +1505,8 @@ def generate_non_scene_output(scene):
       'normals' : [] if nnormals <= 0 else normal_values,
       'colors' : [] if ncolors <= 0 else color_values,
       'uvs' : uv_values,
-      'faces' : faces
+      'faces' : faces,
+      'textures': {}
     }
 
     if option_pretty_print: