PiRSquared17 / awd

Automatically exported from code.google.com/p/awd
Apache License 2.0
0 stars 0 forks source link

blender exporter: no global attribute AWDMeshData #51

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
At June 16 there was a change in the maya exporter from AWDMeshData to 
AWDTriGeom. 
These changes were not completely made in the blender exporter.  

http://code.google.com/p/awd/source/diff?spec=svn2f825d3f4ac3ec1f2830cedb1c5ff09
5582a39aa&r=2f825d3f4ac3ec1f2830cedb1c5ff095582a39aa&format=side&path=/exporters
/maya/MayaAWDExporter.py

This leads to "blender exporter: no global attribute AWDMeshData" errors. 

Just to replace the AWDMeshData with AWDTriGeom will not work. 
If you do that, you get a "segmentation fault" error. So there is more to do, 
then just replace AWDMeshData with AWDTriGeom. And i don't know what.

Original issue reported on code.google.com by Schindle...@gmail.com on 3 Dec 2012 at 6:30

GoogleCodeExporter commented 9 years ago
Sorry i couldn't edit the original message. Here is the correct Error Message:

NameError: global name 'AWDMeshData' is not defined

Detailed Error Message:

{'embed_textures': True, 'include_attr': True, 'include_materials': True, 
'filepath': '/untitled.awd'}
Creating mesh Cube
Traceback (most recent call last):
  File "/opt/blender-2.64a-linux-glibc27-x86_64/2.64/scripts/addons/io_awd/__init__.py", line 62, in execute
    exporter.export(context, **kwds)
  File "/opt/blender-2.64a-linux-glibc27-x86_64/2.64/scripts/addons/io_awd/awd_export.py", line 75, in export
    self.export_mesh(o)
  File "/opt/blender-2.64a-linux-glibc27-x86_64/2.64/scripts/addons/io_awd/awd_export.py", line 216, in export_mesh
    md = self.build_mesh_data(o.data)
  File "/opt/blender-2.64a-linux-glibc27-x86_64/2.64/scripts/addons/io_awd/awd_export.py", line 377, in build_mesh_data
    md = AWDMeshData(geom.name)
NameError: global name 'AWDMeshData' is not defined

Original comment by Schindle...@gmail.com on 3 Dec 2012 at 7:12

GoogleCodeExporter commented 9 years ago
The blender exporter is in a work-in-progress state and is not intended for use 
at this time.

Original comment by bengtric...@gmail.com on 3 Dec 2012 at 9:30

GoogleCodeExporter commented 9 years ago
you could find a patch here:

http://code.google.com/p/awd/issues/detail?id=52

Original comment by Schindle...@gmail.com on 6 Dec 2012 at 5:08