State:Closed|icon_bug|icon_nuke|database:public|Resolution:Fixed|TargetRelease:15.1v1|BugID:554540|
Problem summary
Querying a pivot knob on Camera/Axis/Light nodes returns an obsolete knob when using node.knobs() but an XYZ knob when using node.knob() and node[knob]
This happens with Camera, Camera2, Camera3, Camera4, Axis, Axis2, Axis3, Axis4, Light, Light2, Light3 and Light4 nodes
Customer reported version
nuke.13.2v5
Customer reported platform
centos7
Steps to reproduce
1) Open Nuke
2) In the Script Editor, run the following code:
node = nuke.createNode("Camera") print(node['pivot']) print(node.knob('pivot')) print(node.knobs()['pivot']) node = nuke.createNode("Camera") print(node['pivot_translate']) print(node.knob('pivot_translate')) print(node.knobs()['pivot_translate']) # Result:<XYZ_Knob object at 0x0000012A700A8FD0> <XYZ_Knob object at 0x0000012A700A8FD0> <XYZ_Knob object at 0x0000012A700A8FD0> node = nuke.createNode("Camera") print(node['pivot']) print(node.knob('pivot')) print(node.knobs()['pivot']) # Result:<XYZ_Knob object at 0x0000012A5DFB1D90> <XYZ_Knob object at 0x0000012A5DFB1D90> <Obsolete_Knob object at 0x0000012A5DFD3D70> We're sorry to hear that
Please tell us why