State:New|TargetRelease:No Target|icon_bug|icon_nuke|database:public|Resolution:Fixed|BugID:606043|
Problem summary
The IArray_Knob/matrix size is not preserved when reloading a script or copy and pasting nodes with matrix values.
Customer reported version
Nuke 15.2v4
Customer reported platform
Rocky 9
Steps to reproduce
1) In Nuke, open the Script Editor and run the following code:
node = nuke.createNode("NoOp") matrix = nuke.IArray_Knob("inputMatrix", "input Matrix", (4,4)) node.addKnob(matrix)2) View the NoOp node's Properties, then copy/paste the node in the Node Graph.getValue() method, an array of 4 by 1 is returned. This also occurs with Matrix node and Array_Knob defaults to it's original settings of 3x3 and does not update for the latest knobs when copy/pasting the Matrix node in the Node Graph. We're sorry to hear that
Please tell us why