viewerMod v1.0


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Pau Rocher
Modifies the viewer buffers behavior.
Requirements:
5.0, 5.1, 5.2, 6.0, 6.1, 6.2 or later
25 Jan 2011
166

This viewer modifier enables the user to lock the viewer's buffers.

When in the viewer window, press 's' to bring the viewer's properties up. A new tab called 'buffers' appears. In there you can lock any of the buffers.

I was missing this feature for ages until I decided to implement it myself ...

It works fine for me ... but I'd love to hear from other people about this ... Not everybody does the same things and I would like to make it fully functional for any situation ... so please gimme feedback!!!

 

.p!

 

 

PS: the code is full of comments because this is a work in progress. A cleaner code will be available after getting some feedback ... or maybe sooner!!

 

 

PS2: add this into your menu.py. It will create a new tab to replace the viewer's buffers shortcuts. I totally ignore this new tab, I mean that I never make it visible ...

 

import viewerMod
vm = nuke.toolbar('viewerMod')
vm.addCommand ('zeroBuffer0', "viewerMod.viewerMod(0, nuke.selectedNodes(), nuke.allNodes('Viewer'))", '0', icon = 'Constant.png', index=1)
vm.addCommand ('zeroBuffer1', "viewerMod.viewerMod(1, nuke.selectedNodes(), nuke.allNodes('Viewer'))", '1', icon = 'Constant.png', index=1)
vm.addCommand ('zeroBuffer2', "viewerMod.viewerMod(2, nuke.selectedNodes(), nuke.allNodes('Viewer'))", '2', icon = 'Constant.png', index=1)
vm.addCommand ('zeroBuffer3', "viewerMod.viewerMod(3, nuke.selectedNodes(), nuke.allNodes('Viewer'))", '3', icon = 'Constant.png', index=1)
vm.addCommand ('zeroBuffer4', "viewerMod.viewerMod(4, nuke.selectedNodes(), nuke.allNodes('Viewer'))", '4', icon = 'Constant.png', index=1)
vm.addCommand ('zeroBuffer5', "viewerMod.viewerMod(5, nuke.selectedNodes(), nuke.allNodes('Viewer'))", '5', icon = 'Constant.png', index=1)
vm.addCommand ('zeroBuffer6', "viewerMod.viewerMod(6, nuke.selectedNodes(), nuke.allNodes('Viewer'))", '6', icon = 'Constant.png', index=1)
vm.addCommand ('zeroBuffer7', "viewerMod.viewerMod(7, nuke.selectedNodes(), nuke.allNodes('Viewer'))", '7', icon = 'Constant.png', index=1)
vm.addCommand ('zeroBuffer8', "viewerMod.viewerMod(8, nuke.selectedNodes(), nuke.allNodes('Viewer'))", '8', icon = 'Constant.png', index=1)
vm.addCommand ('zeroBuffer9', "viewerMod.viewerMod(9, nuke.selectedNodes(), nuke.allNodes('Viewer'))", '9', icon = 'Constant.png', index=1)

Please login in order to download these files.

Comments   

 
0 # Jorge M 2012-04-26 11:52
Thanks !! this is prefect ! it would be awsome to disable the message XD
 
 
0 # Pau Rocher 2012-04-26 12:13
there should be an option when you open the viewer properties panel. A checkbox named 'stop showing locked buffer messages'.
Let me know if it does not appear and I'll upload the new code.
enjoy!!
 
 
0 # Jorge M 2012-04-26 12:32
wait ! I found it ! lol!
 
 
0 # Jorge M 2013-04-12 16:13
I reinstall it on v7 but seems not to work :s do Im doin something wrong ?
 
 
0 # Pau Rocher 2013-04-15 19:17
I haven't had the chance to use it or migrate it to Nuke7, sorry ... Will do it as soon as I can ... ...
 

You have no rights to post comments

We have 4189 guests and 102 members online