I tried exporting this model:
http://www.blendswap.com/3D-models/weapons/a-104-cold-fusion-assault-rifle/
And got errors:
Code:
osg: WARNING Camera CAMERA not exported
osg: exporting mesh Circle.805
osg: mesh Circle.805 with material <bpy_struct, Material("screen")>
osg: vertexes 8
osg: faces 2
osg: uvs channels 1 - dict_keys(['UVTex'])
osg: --------------------------------------------------------------
osg: mesh Circle.805 with material <bpy_struct, Material("screen")>
Traceback (most recent call last):
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 95, in execute
OpenSceneGraphExport(config)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osgExport.py", line 65, in OpenSceneGraphExport
export.process()
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 422, in process
self.exportItemAndChildren(obj)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 238, in exportItemAndChildren
item = self.exportChildrenRecursively(obj, None, None)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 289, in exportChildrenRecursively
objectItem = self.createMesh(obj)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 515, in createMesh
sources_geometries = converter.convert()
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 1023, in convert
list = self.process(self.mesh)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 1013, in process
geom = self.createGeomForMaterialIndex(material_index, mesh)
File "C:\Users\martin\AppData\Roaming\Blender Foundation\Blender\2.57\scripts\
addons\osg\osgdata.py", line 756, in createGeomForMaterialIndex
log("object %s has no faces for sub material slot %s" % (self.object.getName
(), str(material_index)))
AttributeError: 'Object' object has no attribute 'getName'
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39137#39137
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org