I think it's because the label drawing is a low priority process in the
many thing Nuke needs to update along the way. It's been a problem for
me many times as well, especially if you put crucial info into the label
and rely on it being correct.
It'd be great to have an option in nodes to ensure higher priority
refresh in the DAG for such cases.
worth a feature request I think
On 23/04/15 7:55 am, Justin GD wrote:
Hi Bruno-Pierre,
Thanks for the re-enable tip to refresh the label I didn't know that.
It could be nice to get it refreshed just by changing the input pipe;
and not implementing a callback for this.
It seems that dealing with knobChanged is the only way though...
2015-04-23 14:31 GMT+01:00 Bruno-Pierre Jobin <[email protected]
<mailto:[email protected]>>:
Btw you need to disable and re-enable the node for it to refresh.
On Thu, Apr 23, 2015 at 9:30 AM, Bruno-Pierre Jobin
<[email protected] <mailto:[email protected]>> wrote:
I use to work with a guy who you knew could know this kind of
stuff : Valentin Trasnea. So back then I asked him that
question. Here's what he cooked for me so I could retrieve the
name of the topnode, usually a Read node at the top of the
tree. You can also change the ".name" for ".file" so it
catches the file name. Unfortunately I couldn't make it work
for the label.
[python -execlocal {ret = nuke.tcl("full_name [file tail
[value [topnode].name]]")}]
On Thu, Apr 23, 2015 at 8:23 AM, Erwan Leroy
<[email protected] <mailto:[email protected]>> wrote:
I've had similar issues in the past without ever finding a
way to fix it.
Seems like expressions in text fields aren't being
refreshed until the DAG is being redrawn?
If anyone knows the answer to this I'm interested as well.
On 23 Apr 2015 19:56, "Justin GD" <[email protected]
<mailto:[email protected]>> wrote:
Hi guys,
I try to retrieve the name and label of the direct
input to display it in the current node label.
I tried using TCL:
[value input.name <http://input.name>]
[value input.label]
But this is not updating when changing the input in
the nodeGraph.
What is the best way to do it ?
I tried using python: [python {...}] without any success.
Cheers,
Justin
_______________________________________________
Nuke-python mailing list
[email protected]
<mailto:[email protected]>,
http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________
Nuke-python mailing list
[email protected]
<mailto:[email protected]>,
http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
--
Bruno-Pierre Jobin
--
Bruno-Pierre Jobin
_______________________________________________
Nuke-python mailing list
[email protected]
<mailto:[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
--
Vfx Supervisor | Lumen
o: 747-200-2063
c: 818-433-9056
ohufxLogo 50x50 <http://www.ohufx.com>
*vfx for storytellers <http://www.ohufx.com>*
*vfx compositing <http://ohufx.com/index.php/vfx-compositing> |
*workflow customisation & consulting
<http://ohufx.com/index.php/vfx-customising>* *
**
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python