Problem summaryIt is possible to avoid opening a node automatically in the properties bin whenever a new node is created. This can be set at global level by hiding the control panel automatically after each node's creation, using a combination of the .hideControlPanel and addOnCreate functions.
An example of this would be the following:
def hideProperties():
nuke.thisNode().showControlPanel()
nuke.thisNode().hideControlPanel()
nuke.addOnCreate(hideProperties)
This option works great for all intended purposes, with the exception of the TimeOffset node. It has been found that having the above functions set will crash Nuke if any other nodes are added downstream of the TimeOffset node.
At this point in time, this appears to only occur with the TimeOffset node and no other node's from testing.
Customer reported version nuke.11.3v2
Customer reported platform windows10
Steps to reproduce1) Open a new Nuke session
2) Paste the following code into the Script Editor and run.
def hideProperties():
nuke.thisNode().showControlPanel()
nuke.thisNode().hideControlPanel()
nuke.addOnCreate(hideProperties)
3) Within the Node Graph, create a TimeOffset node.
4) With the TimeOffset node selected, create a Grade node.
Result: Nuke will crash
WorkaroundUnknown. Avoid using the TimeOffset node if you are using the above or similar setup.
Alternatives can be either:
- Changing the frame range in the Read node
or
- Using a Retime node to do the intended functionality.
Reproduced by supportThis bug has been reproduced in:
Nuke 11.3v2 - Windows 7 - MacOS 10.13.6 - CentOS 7
Nuke 11.3v1 - Windows 7
Nuke 11.2v5 - Windows 7
Nuke 11.2v1 - Windows 7
Nuke 11.1v1 - Windows 7
Nuke 11.0v1 - Windows 7
Nuke 10.5v1 - Windows 7
Nuke 10.0v1 - Windows 7
Nuke 9.0v1 - Windows 7
Nuke 8.0v2 - Windows 7 - MacOS 10.13.6 - CentOS 7
- regressionUnable to reproduce bug in:
Nuke 8.0v1 - Windows 7 - MacOS 10.13.6 - CentOS 7
Earliest version testedNuke 8.0v1
- This issue no longer appears in this version and has regressed
Expected behaviourWhen creating a TimeOffset node using a python function that stops the properties bin from opening on node creation, you should not get a crash when adding a node downstream to the TimeOffset node.
Actual behaviourWhen creating a TimeOffset node using a python function that stops the properties bin from opening on node creation, you get a crash when adding a node downstream to the TimeOffset node.