knob_changed call is suppressed if previous knob_changed call for the
same event returned 0.

2011/10/26 AcidDrippa <[email protected]>
>
> Hi
>
> I am having an issue with the knob_changed method in my derived operator 
> (from Op).
>
> I have a Bool_knob in my operator and I am changing the value to true when 
> the user clicks on a button in a Python dialog.
>
> The knob value changes, but the knob_changed callback method is not getting 
> called. But when I run
>
> Code:
> customOp = nuke.toNode('MyOperator')
> customOp['checkFlag'].setValue(True)
>
>
> from the script editor, knob_changed IS called. Or when I check the knob 
> directly in the property panel of the operator, the method is called as 
> expected.
>
> Why doesn't it get called when checked from a dialog? Is it some root level 
> issue?
>
> Thanks
> _______________________________________________
> Nuke-dev mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev
>
_______________________________________________
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