Disable middle click zoom out v1.4
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: yuri carrara
disable MMB mouse/pen click to fit screen functionality
Requirements:
11.3, 11.2, 11.1, 11.0, 10.5, 10.0 or later
Linux, Mac, Windows
11.3, 11.2, 11.1, 11.0, 10.5, 10.0 or later
Linux, Mac, Windows
10 Oct 2020
373
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
Please login in order to download these files.
Comments
2- I get this error: list index out of range.
Can you help?
I'm not sure about the rest, I would try to paste what's inside the script file int the script editor and run from it first
File "", line 52, in
File "", line 45, in
File "", line 15, in findDagWidget
IndexError: list index out of range
Using Nuke 11.3v4 on Win10. Executed the script via shortcut and from within the Script Editor
Seriously: You deserve a medal!
- It returns a Syntax Error putting it in menu.py
- run from script windows seems to work but every time you use middle mouse button to pan, the panning continues even if you release the button.
tnx
I have been wanting to get rid of the single middle click to zoom out for so long.
I'm using 12.0v3 on Windows 10 and it's working fine for me.
I loaded it into the script editor and ran it from there.
RSS feed for comments to this post