Disconnect nodes input in the Node Graph.
- Select node(s).
- Edit -> Remove input
- Selected nodes get their input disconnected in the Node Graph.
- Ctrl+D
- Copy 'removeInput' folder in your .Natron folder.
- Add following lines to your 'initGui.py' file, where
<path>
is the location of 'removeInput' folder.
from <path>.removeInput.removeInput import *
NatronGui.natron.addMenuCommand('Edit/Remove input','removeInput', QtCore.Qt.Key.Key_D, QtCore.Qt.KeyboardModifier.ControlModifier)