blender export with 2.40 RC1

The place for artists, modellers, level designers et al to discuss their approaches for creating content for OGRE.
Post Reply
User avatar
walaber
OGRE Expert User
OGRE Expert User
Posts: 829
Joined: Sat Oct 02, 2004 2:20 pm
Location: California, USA
Contact:

blender export with 2.40 RC1

Post by walaber »

I have the most recent version from CVS. when trying to export a simple mesh from Blender, I get the following error in the console:
Using Python version 2.4
Traceback (most recent call last):
File "<string>", line 3507, in buttonCallback
File "<string>", line 3160, in export
File "<string>", line 3009, in export_mesh
SystemError: error return without exception set
any ideas?
Go Go Gadget OGRE!!
Image
reimpell
OGRE Contributor
OGRE Contributor
Posts: 570
Joined: Mon Mar 01, 2004 10:35 am
Location: Hamburg, Germany

Re: blender export with 2.40 RC1

Post by reimpell »

There are some interface breaking changes in Blender's Python api (BPy) between the 2.3x and 2.4x series. Please use this preview script to export static or shape animated meshes. Unfortunately, access to the bone transformation matrix (pose_mat) is still not included in BPy, so I haven't finished the recode of armature animation export. Nfz started to adapt the old export script to the new BPy interface, but I'm not aware of the status.
User avatar
walaber
OGRE Expert User
OGRE Expert User
Posts: 829
Joined: Sat Oct 02, 2004 2:20 pm
Location: California, USA
Contact:

Post by walaber »

okay, thanks. after upgrading to python 2.4, it worked great.
Go Go Gadget OGRE!!
Image
Post Reply