Hello,
I’ve made my own custom manipulator and selection context. All well and good.
When i get to my manipulator’s draw() method, I draw a line_loop based circle.
By calling this:
colorAndName( view, glPickableItem, true, mainColor() );
the circle is pickable by the user.
However, I need to make it so this manipulator is “auto-selected” when the user enters the tool. The same way that elements of the move/rotate/scale tool are auto-selected (eg yellow) when you enter the tool or select a new object.
Even if i use opengl or view.beginselect to try and get a selection around the manipulator handle, what then? I can’t see a way that maya API provides a “select tool handle” method anywhere…
Tough one!