Hi, Ivan
It's working if I executed this script from scripteditor, but it did not
work if I executed script from nuke menu. I get a error "name
'serverDialog' is not defined". Do you have any more ideas?
Thanks
It's most likely still executing the knobChanged that triggered the
creation of the second panel.
Depending on what you need to do with that second panel, the easier
way to get around it may be to move what you have in knobChanged onto
the button knob itself.
So, from your example, you would remove the knobChanged method of your
panel, and define your knob button like this:
self._clientsListAdd = nuke.PyScript_Knob("...", "...",
"serverDialog().showModalDialog()")
Hope that helps.
Cheers,
Ivan
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python