lock_viewer_pipes v1.4
This location is for Registered Users Only.
Perhaps you need to login or register.
11.0, 10.5, 10.0 or later
Linux, Mac, Windows
v1.4 - fixed bug when locked buffers are disconnected. Now a locked but disconnected buffer can be connected but remaines locked afterwards.
v1.3 - just updating the version number inside the py file to be in line with the nukepedia version
v1.2 - fixed bug where a selected viewer node wwould still cause teh lock warning to pop up instead of showing the requested buffer
v1.1 - fixed bug where the lock warning would appear when a hotkey for a locked buffer was pressed inteh DAG without any nodes selected
This python script adds some UI features to lock viewers or selected buffers to prevent accidental reconnection.
Upon the first buffer assignement the active viewer gets a 'Lock' tab with checkboxes in it's settings panel. This allows you to lock either all buffers or only select ones:
It also created new right options in teh viewer to lock and unlock the current buffer or all buffers:
To install place the lock_viewer_pipes.py in your NUKE_PATH or ~/.nuke folder, and add teh fololowing lines to your menu.py:
import lock_viewer_pipes
lock_viewer_pipes.register_viewer_locks()
Comments
I noticed a bug in script.
Nuke 10.5 when script is running i loose the ability to peek a color sample from screen, for example in keylight, i do ctrl+left click on screen, but sampler in keylight is still black.
I am using it in production right now (Centos 7)
I noticed thad color sampling on pass on bottom part of a viewer window works fine, just doesn't work on nodes such as grade or keylight, in every node where I have to pick a color.
Anybody else on windows 7 using this?
by default if no node selected and you choosing a buffer nuke will display the node to which this buffer is assigned
with your tool it does work while you hovering over display, but it does not if you are in the nodegraph area.
thank you
you mean just for locked buffers right? Unlocked buffers have the same. E.g. if you hit buffer 1 in teh DAG with no node selected it still displaying the lock warning, instead of simply showing buffer 1?!
I can fix that tomorrow, just wanted to confirm.
Cheers,
frank
yes exactly that
Quote: thanks!
same issue
v 1.1
warning in the DAG
if no nodes selected and do press number 1
if i did assign before buffer 1 to read node "A"
i expect to see read node "A"
but i see the warning
"Buffer 1 in Viewer1 is locked"
I will update the code so that it checks the selected node class and ignores viewer node selections, which should mimic the normal behaviour.
v 1.1 there?
maybe you forgot to upload?
cheers
Let me know if this is still now fixed for you.
I'm getting an error each time I open a "recently used script"
A pop up panel that says "knob created does not exist"
You simply have to say "OK" and everything works, but just wondering if there was a way to fix that ?
RSS feed for comments to this post