Sorry for a C++ question :)
So:
MItMeshPolygon::getUVAtPoint(MPoint&, float (&) [2], MSpace::Space, MString 
const*)
This methos crashes maya2015 if iterator is set to a face with near-zero 
area.

pseudo code:

polyIter.setIndex( findSomeSmallFace() );
MPoint samplePoint = somewhereNearThatSmallFace();
float2 uvPoint;
polyIter.getUVAtPoint(samplePoint, uvPoint, MSpace::kWorld); // CRASH !!


So, do you guys maybe have a ready routine to evaluate face UVs from a 
nearby point ?

thanks
-michal

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/059121d5-bd38-4006-8d72-581aced041fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to