> Line 333 (just before get_material in export() ) in blender2soya.py caused 
> material_filename to become blah instaed of blah0 due to 
> image_filename.rfind(".") returning -1, thus cutting the last character of 
> the string. If I change the code to:
> 
>             if image_filename.rfind(".") != -1:
>               material_filename = image_filename[:image_filename.rfind(".")]
>             else:
>               material_filename = image_filename[:]
> 
> The name correctly becomes blah0.

Normally, image_filename should be "blah0.jpeg", and thus this code should 
remove the ".jpeg" extension...

There is a problem somewhere, though.

Jiba

_______________________________________________
Soya-user mailing list
[email protected]
https://mail.gna.org/listinfo/soya-user

Reply via email to