Have you tried calling changed() on the curves knob of your Roto/RotoPaint
node?
That should trigger a full update, including a refresh of the viewer
handles.

curvesKnob = yourRotoNode['curves']
curvesKnob.changed()


On Fri, Jul 20, 2012 at 4:26 AM, Colin Alway <[email protected]> wrote:

> Hi all,
>
> I'm modifying a Rotoshape using python, and i'd like to force the viewer
> to refresh the overlay, does anyone know a way to do this?
> Once I click inside the viewer window it redraws, but it would be nice to
> force it.
>
> I've tried calling redraw() & forceValidate() on the following nodes,
> without success:
>
> the rotoshape node itself
> nuke.activeViewer().node()
> nuke.Root()
>
> i've also tried adding a knob to the node, then deleting it again.
>
> any suggestions? This script is running in the main thread by the way.
>
> thanks
> Colin
>
> --
> colin alway
>
> _______________________________________________
> Nuke-python mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>
>
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to