Call 'asapUpdate()' on your Op after you make the changes, but it's not
clear from your post how the output of the node changes based on mouse
movement.

 

Steve

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Cuco Bures
Sent: Wednesday, November 21, 2012 3:30 AM
To: Nuke plug-in development discussion
Subject: [Nuke-dev] Viewer context on mouse drag laziness

 

Hi guys, 

 

I'm changing the values of a knob when the user drags the mouse on the
viewer. Using Knob->set_value() to do so.

 

Can see the values changing all the time while dragging the mouse, but the
plugin doesn't get re-rendered until mouse release.

 

How can I force the plugin to re-render?

 

I was expecting the node working similar to a grade node when you use the
color picker, that constantly updates the image so you can easily see what
the result is...

 

Thanks in advance,

Cuco Bures

 

P.S. Btw, is there any better way to set the values of the knob other than
that?

_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

Reply via email to