Hi There,
I am trying to implement a weight paint tool, which comes with a select mode, so I want to use the feature of MPxSelectionContext to handle that.
When I derive the context from MPxSelectionContext, the doPtrMoved() no longer get called in vp2:
doPtrMoved (MEvent &event, MHWRender::MUIDrawManager &drawMgr, const MHWRender::MFrameContext &context)
I try to override all remaining virtual methods to use MPxContext version but no use.
Also looked like it is illegal to composite a MPxSelectionContext instance within my own MPxContext, it will just crash Maya when using it to tackle the events.
Is there a workaround for this?
Thanks a ton.