by accident, I discovered this will rebuild my unbuilt thumbnails
(postage_stamps):
nuke.clearDiskCache()
nuke.memory("free")
not one or the other, but both commands together do it. Unfortunately,
it rebuilds ALL the postage_stamps (among other things, of course).
So it seems my black postage_stamps have a bad cache or something?
Anyone know a trick to clean a specific node's cache?
nuke.showInfo(node) know's what's there, but I don't know how to access
it other than the print.
cheers
JRAB
'On 09/13/2013 04:35 PM, Cedric Chapeleau wrote:
Yep,
It would be cool ^^
On 09/05/2013 12:35 AM, John RA Benson wrote:
Hi there -
I was just wondering if there is any sort of function out there that
can force a node to rebuild it's thumbnail? I have a read gizmo that
works fine, but there isn't a thumbnail when it's initially created
(strangely enough, it's there when I open a script though - using an
onCreate callback to build the node's internals. Seems like it
should do the same thing when created by launching a script or just
creating the node? ). If I copy it, the thumbnail re-appears. If I
rebuild it (done when the file knob changes to reset whatever
elements are in the internal read nodes), the old thumbnail doesn't
change. I can't really copy and paste in place because it messes up
any scripts that call the node in the pipeline (the copied node
object gets deleted after the paste and both nuke and I get unhappy
when the node doesn't exist anymore).
it would be so simple to fix if I could just node.rebuildThumbnail()
or something.
Any ideas? Or should I just send as a feature request?
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