Skip to content

Commit

Permalink
Fixed #128 - error messages when copy and pasting with layer selectio…
Browse files Browse the repository at this point in the history
…n locked. (No test for this one).
  • Loading branch information
jonahf committed Jul 24, 2020
1 parent a7212d1 commit fbe58ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nuke/cryptomatte_utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,9 +465,9 @@ def cryptomatte_knob_changed_event(node = None, knob = None):
node.knob('cryptoLayer').setValue(new_crypto_layer)
cinfo = CryptomatteInfo(node)
_update_cryptomatte_gizmo(node, cinfo)

# Undo user action
knob.setValue(knob.values().index(node.knob('cryptoLayer').value()))
# Undo user action on menu
knob.setValue(knob.values().index(node.knob('cryptoLayer').value()))
elif knob.name() == "pickerAdd":
if node.knob("singleSelection").getValue():
node.knob("matteList").setValue("")
Expand Down

0 comments on commit fbe58ac

Please sign in to comment.