Skip to content

Adding a knob that can't be added (i.e it's already on another node) doesn't fail gracefully #3

Description

@tanant
g = nuke.createNode('Grade')

k = nuke.String_Knob('one')
l = nuke.String_Knob('two')
m = nuke.String_Knob('three')

g.addKnob(k)
g.addKnob(l)
g.addKnob(m)

knobwrangler.insert(m, g, 'one')

You get a RuntimeError, and depending on the state of your insert point, knob names/labels are changed or knobs are lost and not recovered. Shouldn't fail this badly on an invalid change.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions