esteban
30-10-2005 12:37:32
When I try to iterate over the submeshes of an object and print them, I get a Win32 error popup.
If I comment out the print line, I get no crash. I'll try to build a debug version of PyOgre and see what's wrong here, but I thought I'd point it out just in case someone has a good guess of what's going on...
for i in xrange(entity.mesh.getNumSubMeshes()):
submesh = entity.mesh.getSubMesh(i)
print submesh # BANG!!
If I comment out the print line, I get no crash. I'll try to build a debug version of PyOgre and see what's wrong here, but I thought I'd point it out just in case someone has a good guess of what's going on...