MItMeshPolygon.reset() problem

17 views
Skip to first unread message

Jan

unread,
Aug 28, 2015, 4:34:55 AM8/28/15
to Python Programming for Autodesk Maya
Hi,

I'm working on a custom mesh exporter on the basis of this one: https://github.com/Volodymyrk/pbrtMayaPy/blob/master/PBRT/ExportModules/MeshOpt.py

However Maya crashes when I reset the MItMeshPolygon to cache out the same geometry on each frame. Somewhere in the back of my head I remember that there was a bug around resetting the Iterator.
Does anybody know how to work around that Iterator bug without switching to MFnMesh completely (which is very unhandy to retrieve UV and triangle lists)

Thanks!
J
Reply all
Reply to author
Forward
0 new messages