*Hi Andrea. Isn't it more efficient to draw simple sphere than circle? In that case you dont have to multiply vectors by matrix every draw update...* *And instad of MPxDrawOverride, I recoment to use MPxGeometryOverride... You can declare couple of MShaderInstance as static variables and use it for every locator instance in different cases (selection lead, selection active, defoult state). * *But in that case you will lose your ability to switch color per locator instance.*
-- 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/d3bae49e-9c5f-493e-b334-ec4e8fe1f952%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
