ID 280443 - Output of Scene or MergeGeo Node will not update correctly if input 0 is a Light node that changes.

Follow

Problem summary
Output of Scene or MergeGeo Node will not update correctly if input 0 is a Light node that changes.


Customer reported version
nuke.10.5v1

Customer reported platform
windows10

Steps to reproduce

1) Launch Nuke and paste the following into your scene:

set cut_paste_input [stack 0]
version 10.5 v1
Camera2 {
 inputs 0
 translate {0 0 8.119999886}
 name Camera3
 selected true
 xpos -1606
 ypos -398
}
set Nfb64ef0 [stack 0]
Phong {
 inputs 0
 name Phong3
 selected true
 xpos -1625
 ypos -761
}
Sphere {
 name Sphere3
 selected true
 xpos -1625
 ypos -704
}
set Ne7e0c60 [stack 0]
Light2 {
 inputs 0
 color {1 0 0}
 translate {3.349999905 0 4.869999886}
 depthmap_slope_bias 0.01
 name red3
 selected true
 xpos -1541
 ypos -1005
}
push $cut_paste_input
Light2 {
 color {0 1 0}
 translate {-2.480000019 0 4.869999886}
 depthmap_slope_bias 0.01
 name green3
 selected true
 xpos -1707
 ypos -1013
}
Switch {
 inputs 2
 name Switch3
 selected true
 xpos -1639
 ypos -893
}
set N20b2b330 [stack 0]
Dot {
 name Dot5
 selected true
 xpos -1793
 ypos -889
}
Scene {
 inputs 2
 name Scene1
 selected true
 xpos -1817
 ypos -724
}
push 0
ScanlineRender {
 inputs 3
 conservative_shader_sampling false
 motion_vectors_type distance
 name ScanlineRender6
 selected true
 xpos -1827
 ypos -383
}
push $Nfb64ef0
push $N20b2b330
Dot {
 name Dot6
 selected true
 xpos -1381
 ypos -889
}
push $Ne7e0c60
Scene {
 inputs 2
 name Scene2
 selected true
 xpos -1405
 ypos -724
}
push 0
ScanlineRender {
 inputs 3
 conservative_shader_sampling false
 motion_vectors_type distance
 name ScanlineRender5
 selected true
 xpos -1415
 ypos -378
}

2) Setup two viewers as side-by-side to visualize the output of both ScanlineRender nodes one next to the other.

3) Toggle the Switch node to change the input between two Light nodes "green3" and "red3" and compare the output in the viewers
 
Result:
The output of the Scene node with the light node going into input0 (label 1) does not update when the light is changed.  If light node is input1 (label 2) then the output of the scene node changes as expected.




Reproduced by support

Nuke 10.5v4 - Linux CentOS 6.9 - MacOS Sierra - Windows 10

Nuke 10.0v1 - Linux CentOS 6.9 - MacOS Sierra - Windows 10

Nuke 9.0v9 - Linux CentOS 6.9 - MacOS Sierra - Windows 10

Nuke 9.0v1 - Linux CentOS 6.9 - MacOS Sierra - Windows 10
 
Nuke 8.0v1 - Linux CentOS 6.9


Expected behaviour
Lights should be switching between the two ScanlineRender nodes showing the selected colors on the sphere.

Actual behaviour
The information does not transfer over correctly often resulting in both colors appearing on the Sphere despite the Switch node only utilizing one node.

    We're sorry to hear that

    Please tell us why