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

Blender Exporter: Missmatch of embed geometry names.
This is the bug I started the day with. And I kept finding other issues on the way. I think it's now fixed, but this made me realise how convoluted this exporter is :(

Mr.doob преди 12 години
родител
ревизия
2868ca309f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      utils/exporters/blender/2.65/scripts/addons/io_mesh_threejs/export_threejs.py

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

@@ -2353,7 +2353,7 @@ def save(operator, context, filepath = "",
                                                         option_animation_skeletal,
                                                         option_frame_step)
 
-                        embeds[name] = model_string
+                        embeds[object.data.name] = model_string
 
                     else: