alexeyd / blender2cal3d

A project to port blender cal3d exporter to blender 2.58
7 stars 13 forks source link

Exporter doesn't work for latest Blender #15

Open apalazzi opened 10 years ago

apalazzi commented 10 years ago

The exporterdoesn't work with latest Blender because of a change in the python API. The following patch solves the problem.

--- a/io_export_cal3d/export_mesh.py Sat Aug 03 13:41:58 2013 +0200 +++ b/io_export_cal3d/export_mesh.py Thu Aug 08 13:50:46 2013 +0200 @@ -125,7 +125,7 @@ cal3d_vertex = None uvs = []

alexeyd commented 10 years ago

So is this patch needed or not? You were so fast to close the issue...

apalazzi commented 10 years ago

Sorry, it wasn't needed: the last update on the code fixed it, I missed it because the commit message mentioned 2.5x.

There's another issue with binary format though: in action_classes you use ar = array('L', [1300]), but the latest stable cal3d library is 1200, so applications built against it will refuse to read the file.

I see that in all the other places you're using 1200, so can't you also set 1200 for this? Right now I have to export to xml and then use the converter to get the animation in the application...

Bye Andrea


Da: Alexey Dorokhov notifications@github.com A: alexeyd/blender2cal3d blender2cal3d@noreply.github.com Cc: apalazzi palazziandrea@yahoo.it Inviato: Martedì 8 Ottobre 2013 9:32 Oggetto: Re: [blender2cal3d] Exporter doesn't work for latest Blender (#15)

So is this patch needed or not? You were so fast to close the issue... — Reply to this email directly or view it on GitHub.

alexeyd commented 10 years ago

Sure, I'll take a look. Let this issue be open for now, so that I don't forget.