take a look at the thread:

Re: [Nuke-python] running nuke.scriptExit() from a panel

I fixed a similar issue with those tips. many thanks for them!

jrab



On Aug 10, 2011, at 10:30, Albert Rizov <[email protected]> wrote:

> Nobody don't know?
> 
> 
>> Hi, All
>> 
>> I try to open a child modal dialog box
>> 
>> class serverDialog(Dialog):
>>    ....
>> 
>>    def knobChanged(self, knob):
>>        ...
>>        if (knob==self._clientsListAdd):
>>            r = RenderNodesDialog(_gserverNodesDialogState, nuke.root())
>>            if (r.showModalDialog()==True):
>>                return
>> 
>> def showserverDialogSelected(nodes):
>> 
>>    groupContext = nuke.root()
>> 
>>    e = serverDialog(_gserverDialogState, groupContext, nodes)
>>    if (e.showModalDialog()==True):
>>        e.run()
>> 
>> 
>> but when I press "Ok" or "Cancel" button in a child window I have an message 
>> "I'm already executing something else"
>> 
>> are there any ideas what I'm doing wrong ?
>> 
>> Thanks
>> _______________________________________________
>> 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

_______________________________________________
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