Skip to content

Commit

Permalink
nuke: config-dependent knob defaults preserved on OCIOLookTransform
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyselan committed Mar 27, 2012
1 parent 3c1ea7d commit d40eeab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/nuke/OCIOLookTransform/OCIOLookTransform.cpp
Expand Up @@ -138,10 +138,12 @@ void OCIOLookTransform::knobs(DD::Image::Knob_Callback f)
DD::Image::Enumeration_knob(f,
&m_inputColorSpaceIndex, &m_inputColorSpaceCstrNames[0], "in_colorspace", "in");
#endif
DD::Image::SetFlags(f, DD::Image::Knob::ALWAYS_SAVE);
DD::Image::Tooltip(f, "Input data is taken to be in this colorspace.");


DD::Image::Enumeration_knob(f, &m_lookIndex, &m_lookCstrNames[0], "look", "look");
DD::Image::SetFlags(f, DD::Image::Knob::ALWAYS_SAVE);
DD::Image::Tooltip(f, "Specify the look to apply, as predefined in the OpenColorIO configuration.");

DD::Image::Spacer(f, 8);
Expand All @@ -165,6 +167,7 @@ void OCIOLookTransform::knobs(DD::Image::Knob_Callback f)
DD::Image::Enumeration_knob(f,
&m_outputColorSpaceIndex, &m_outputColorSpaceCstrNames[0], "out_colorspace", "out");
#endif
DD::Image::SetFlags(f, DD::Image::Knob::ALWAYS_SAVE);
DD::Image::Tooltip(f, "Image data is converted to this colorspace for output.");


Expand Down

0 comments on commit d40eeab

Please sign in to comment.