Hi guys, 

while working on a new MPxLocatorNode, I was wondering something : 
how could I implement the drawingOverride (and more specifically the 
overrideColor) to my openGL drawing ? Since drawingOverride is inherited by the 
MPxLocatorNode class, we might have some handles inside the node, no ? 
What I'm usually doing for that is querying the colorOverride value (an int 
from 0 to 31), and based on that, I pick the corresponding rgb value in an 
predefined array, then I feed my glColor with that... this looks pretty 
cumbersome.. is there a way to get the rgb value automatically, from maya 
directly ?

Thank you =]

-- 
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/4cb2d4d6-5b40-473d-8098-ee8f139e9e23%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to