If anyone is interested I figured it out. I just needed to implement a 
refresh method to the doDrag function. Aka:

M3dView view = M3dView::active3dView();
view.refresh();

Even though this is viewport 2.0 ...

On Friday, March 20, 2015 at 1:56:35 PM UTC+1, Janos Hunyadi wrote:
>
> Ok... one thing I figured out that if I use a custom manipulator instead 
> of a context (hence having a direct connection to the node ) the value 
> changes appropriately. But it seems like I need to re-implement the whole 
> thing by creating a custom DG node (container) + a context (for selecting 
> the object) + locator + manipulator ... so convoluted :D
>

-- 
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/f2a0b210-e7f0-43ff-bf32-fe3541f62b05%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to