- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have been working on a locator that draws a subset of faces from a mesh.
It's working fairly well but it's slower than I would like, and I'm not sure what I can do to optimize it. There is one part of the code that I know can be faster. At the moment I need to convert the MPointArray of the vertex positions into a MVectorArray and then back again because pulling an MPointArray out of the MUserData is causing a crash (which seems to me like a Maya bug). I've tried using the pre-evaluate method so that I can use the parallel evaluation method, but I run into crashing problems when it tries to compute a plug with a giant index (even though there's no connection to such a plug). Any help would be greatly appreciated.
Solved! Go to Solution.