This looks like a bug specific to Python panels in Nuke 6.3 and prior (that is, it does not occur in 7).
In order to try and come up with the best alternative, can you post some more of your code? For instance, if you’re using the knobChanged method to handle simple button presses, try just calling your code directly from the button instead... -Nathan From: Marc Gutowski Sent: Wednesday, November 21, 2012 5:40 AM To: nuke-python@support.thefoundry.co.uk Subject: [Nuke-python] Re: knob.setLabel() doesn't updateuntilpropertiespanel is re-op hey fellows, i got a simple problem and dont't know how to solve... just created a new panel with updating labels, using the setflag/clearflag trick. Code: knob.setFlag(nuke.KNOB_CHANGED_RECURSIVE) knob.clearFlag(nuke.KNOB_CHANGED_RECURSIVE) onknobchange i call the label udpate event including the flag command. On the very first update everything is fine, but executing the same button again, nuke instantly closes. 1) how to fix ? 2) how to get any error message when nuke closes this fast ? -------------------------------------------------------------------------------- _______________________________________________ Nuke-python mailing list Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________ Nuke-python mailing list Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python