Hi, folks!

I just got started with soya and I was playing around with Blender to
create an animated character for loading on soya0.12rc1.
Well, after some struggle I finally got the auto-exporter to work, but
I was having some problems with the script looking for the generated
cal3d model in the wrong dir and I had to copy manualy the model to
the dir it was looking up in.

I searched the source code a bit and then on line 830 of the
__init__.py file for soya module I found this:

os.path.join(os.path.dirname(source_file), "..", "models", filename,
filename + ".cfg"),

Well, I really think this line should be:

os.path.join(os.path.dirname(source_file), "..", klass.DIRNAME,
filename, filename + ".cfg"),

I thought this because it makes no sense in defining a DIRNAME class
atribute and then using a hard coded dirname to search stuff around.

I hope this helps on something :-)

By the way, great engine you managed to do, Jiba, I'm really
impressed. I came to it after going crazy trying to make PyOgre to run
on my Ubuntu Laptop with ATI Xpress card and I'm having a great time
with it! Keep up the good work!

Cheers :-)

--
Kao Cardoso FĂ©lix

_______________________________________________
Soya-user mailing list
Soya-user@gna.org
https://mail.gna.org/listinfo/soya-user

Reply via email to