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

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

Anup Bishnoi преди 9 години
родител
ревизия
7a985fe294
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  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: