Bläddra i källkod

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

Anup Bishnoi 9 år sedan
förälder
incheckning
7a985fe294
1 ändrade filer med 2 tillägg och 1 borttagningar
  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: