Skip to content

Commit 6b5d9b3

Browse files
authored
Merge pull request #4 from colour-science/feature/reset_fixes
PR: Ensure that Nuke Blink node is properly reset.
2 parents 0bbae67 + 8bdd46c commit 6b5d9b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

model/GamutCompress_blink.nk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Group {
2323
yellow 0.12
2424
addUserKnob {6 hexagonal t "Compress secondary colors in addition to primary colors. Uses variation on the algorithm suggested by Nick Shaw https://community.acescentral.com/t/a-variation-on-jeds-rgb-gamut-mapper/3060" +STARTLINE}
2525
addUserKnob {6 overlay l "graph overlay" +STARTLINE}
26-
addUserKnob {22 reset t "Reset knobs to default values. Distance limits are calculated based on an the average of a selection of digital cinema cameras." T "n = nuke.thisNode()\nnuke.root().begin()\ndefaults = \{\n 'threshold': 0.2,\n 'power': 1.2,\n 'shd_rolloff': 0.03,\n 'cyan': 0.09,\n 'magenta':0.24,\n 'yellow': 0.12,\n\}\nfor k, v in defaults.items():\n n\[k].setValue(v)" +STARTLINE}
26+
addUserKnob {22 reset t "Reset knobs to default values. Distance limits are calculated based on an the average of a selection of digital cinema cameras." T "n = nuke.thisNode()\nnuke.root().begin()\ndefaults = \{\n 'threshold': 0.8,\n 'power': 1.2,\n 'shd_rolloff': 0.0,\n 'cyan': 0.09,\n 'magenta':0.24,\n 'yellow': 0.12,\n\}\nfor k, v in defaults.items():\n n\[k].setValue(v)" +STARTLINE}
2727
addUserKnob {26 ""}
2828
addUserKnob {4 direction M {forward inverse}}
2929
addUserKnob {20 info_tab l Info}

0 commit comments

Comments
 (0)