Explorar o código

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 %!s(int64=12) %!d(string=hai) anos
pai
achega
2868ca309f

+ 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: