ID 135110 - Callbacks are still evaluated on nodes if they are disabled by an expression

Follow

Problem summary
Callbacks are still evaluated on nodes if they are disabled by an expression

 

This example uses Write nodes, but also happens on the CuvreTool node and presumably other nodes which have callbacks and can be executed 

 

Customer reported version
nuke.13.2v3

 

Customer reported platform
ubuntu

 

Steps to reproduce

 

1) Open Nuke

2) Open the attached callbackTest.nk

3) Select Render>Render All Write Nodes... and render all the Write nodes using a local render

 

4) Open the script Editor, and see which callbacks fired

 

Expected behaviour
For only the Write node actually being rendered to fire the beforeRender callback

 

Actual behaviour
The Write node disabled using an expression still fired the beforeRender callback:

 

 

Workaround
Unknown. 

 

Reproduced by support
This bug has been reproduced in:

Nuke 13.2v4 - Windows 10, CentOS 7, macOS Monterey

Nuke 6.1v3 - Windows XP, Windows 7

Nuke 6.0v7 - Windows 7

Nuke 5.2v3 - Windows 7

 

Earliest version tested
Nuke 5.2v3 - This issue appears to be in all tested versions of the product

    We're sorry to hear that

    Please tell us why