disable MMB mouse/pen click to fit screen functionality
Disable middle click zoom out
Updated: 10 October 2020
Author: ytrox
Compatible Nuke versions: 10.0 or later
Compatibility: Linux, Mac, Windows
Simple hack to disable the middle mouse click functionality that fits to 'screen' the viewer or the node graph.
I always found that feature super super super annoying.
Add this to menu.py and change the PATH with yours. I couldn't find a way to execute the script properly, I'm not sure why, if you have a better solution plz share.
nuke.menu('Nuke').addMenu('Edit').addCommand('disable mid button','exec(open(r'YOUR_PATH\disableMidMouseButton.py').read())', 'alt+shift+b')
v1.4 nuke 11.3 fix