thanks!

seems to be a linux thing. I just tried my test node on osx and it works fine.

calling node.showControlPanel() from within the node is something different, 
but if it worked to re-open the panel, at least I'd have a workaround. It does 
the same in osx and linux - nothing.

thoughts?
JRAB


On Sep 6, 2013, at 7:28 PM, Nathan Rusch <[email protected]> wrote:

> Ha. I actually just reported this issue the other day. From what I can tell, 
> it has to do with knobs being reorganized or reordered without giving Nuke a 
> chance to redraw their widgets. As you say, it's pretty much harmless, as all 
> the widgets are still connected to the same back-end knob, but annoying 
> nonetheless.
> 
> I'll follow up on here when I have a bug ID.
> 
> -Nathan
> 
> 
> -----Original Message----- From: John RA Benson
> Sent: Friday, September 06, 2013 10:15 AM
> To: Nuke Python discussion
> Subject: [Nuke-python] multiple panels inside a panel problem
> 
> Does anyone have a fix for this problem:
> 
> set cut_paste_input [stack 0]
> version 7.0 v8
> push $cut_paste_input
> NoOp {
> name NoOp25
> selected true
> xpos -497
> ypos -19511
> addUserKnob {20 tests}
> addUserKnob {22 reload T "thisNode = nuke.thisNode()\nk =
> nuke.Text_Knob('foo',
> 'foo')\nthisNode.addKnob(k)\nthisNode.removeKnob(k)\n" +STARTLINE}
> addUserKnob {22 reloadCloseAndReopen l "reload, Close and Reopen" T
> "thisNode = nuke.thisNode()\nk = nuke.Text_Knob('foo',
> 'foo')\nthisNode.addKnob(k)\nthisNode.removeKnob(k)\n\nthisNode.hideControlPanel()\nthisNode.showControlPanel()"
> +STARTLINE}
> }
> 
> Press the 'reload' button in the noop. I'm just adding a knob, and then
> removing it.
> Basically, if you have a knob that you want to remove and do so, the
> properties panel adds to itself. Each time you run it, it stacks up.
> Doesn't appear to be a problem, but it's really annoying, since you have
> to close the panel and re-open it to normalize it again.
> 
> Speaking of opening and closing, is it normal to not be able to open the
> panel with node.showControlPanel() from within a script called by the
> node? Do I need to do some context thing to get it to open?
> 
> thanks
> JRAB
> _______________________________________________
> 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