Author: maxun
Date: Wed Oct 17 20:30:59 2007
New Revision: 490

URL: http://svn.gna.org/viewcvs/cal3d?rev=490&view=rev
Log:
Bug fixe from Vladimir Shabanov:
There is a bug in CMaxMesh destructor -- it incorrectly tries to delete 3DS 
Max's Mesh object which is a part of TriObject allocated in MaxInterface.cpp. 
CMaxMesh destructor must delete the TriObject, not its field.

Also there was a bug with double deletion of Mesh object for meshes without 
skin or physique modifier.

I've attached the MaxMesh.cpp, MaxMesh.h and MaxInterface.cpp with the 
necessary changes.

BTW, with these fixes plugin now works w/o crashes in 3DS Max 9.

Modified:
    trunk/cal3d/plugins/cal3d_max_exporter/MaxInterface.cpp
    trunk/cal3d/plugins/cal3d_max_exporter/MaxMesh.cpp
    trunk/cal3d/plugins/cal3d_max_exporter/MaxMesh.h


_______________________________________________
Cal3d-commits mailing list
[email protected]
https://mail.gna.org/listinfo/cal3d-commits

Reply via email to