Panda Exporter bugs

Best place to pop this one I think :slight_smile:

Noted a small bug in the panda exporter
[link]http://xoomer.virgilio.it/glabro1/panda.html[/link]

When exporting a mesh without a texture it trips up. I did note which lines it was but it was last night and since then I have forgotten where it was :frowning:

It might be linked to not having UV co-ords but I will look again and see where the problem was.

It gives an error similar to:

IndexError: list index out of range

Simple fix is just to apply textures to everything.

Second bug is the saving a file with the extension egg causes a double extension e.g. mymodel.egg.egg

Fix is to either edit here:

def my_callback(filename):
	if filename.find('.egg', -2) <= 0: filename += '.egg'

or don’t enter the extension in the ‘save’ dialog.

chimpoid

-Yes it’s true.The script doesn’t check if the mesh has
materials or UV.I’ll try to fix these bugs.

Ben

Hi,

Thanks for the work so far. It’s shaping up really nicely and I can’t wait to see your next versions.

Chimpoid

Fixed both! :smiley: :smiley:

Ben