Created
August 20, 2020 22:15
-
-
Save rafaelperez/6f09e3424e8e9b4dc6c667ea8fe55300 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add the following lines to your `menu.py` | |
nuke.menu('Nuke').addCommand("Viewer/Uprez", "nuke.activeViewer().node().knob('downrez').setValue(str(nuke.activeViewer().node().knob('downrez').getValue()-1))", "Alt+z") | |
nuke.menu('Nuke').addCommand("Viewer/Downrez", "nuke.activeViewer().node().knob('downrez').setValue(str(nuke.activeViewer().node().knob('downrez').getValue()+1))", "Alt+x") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment