Skip to content

Commit 6b90c40

Browse files
committed
correct unpremult and knob names
1 parent 1ffb285 commit 6b90c40

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/DeepCID.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ enum { SMOOTH, LINEAR };
88

99
class DeepCID : public DeepCMWrapper
1010
{
11+
// const char* _auxChannelKnobName;
1112
Channel _auxChannel;
1213

1314
float _deepID;
@@ -87,14 +88,14 @@ void DeepCID::top_knobs(Knob_Callback f)
8788
// _auxiliaryChannelSet is actually a channel in this case, but they mostly
8889
// work similarly, afaict
8990
Input_Channel_knob(f, &_auxChannel, 1, 0, _auxChannelKnobName);
90-
Bool_knob(f, &_unpremultPosition, "unpremult_position_data", "unpremult position");
91+
Bool_knob(f, &_unpremultPosition, "unpremult_id", "unpremult id");
9192
Tooltip(f, "Uncheck for ScanlineRender Deep data, check for (probably) "
9293
"all other renderers. Nuke stores position data from the ScanlineRender "
9394
"node unpremultiplied, contrary to the Deep spec. Other renderers "
9495
"presumably store position data (and all other data) premultiplied, "
9596
"as required by the Deep spec.");
9697
Input_ChannelSet_knob(f, &_processChannelSet, 0, "output");
97-
Bool_knob(f, &_premultOutput, "premult_output", "premult output");
98+
Bool_knob(f, &_unpremult, "unpremult", "(un)premult");
9899
Tooltip(f, "If, for some reason, you want your mask stored without "
99100
"premultipling it, contrary to the Deep spec, uncheck this. "
100101
"Should probably always be checked.");

0 commit comments

Comments
 (0)