浏览代码

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: