소스 검색

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: