Private, hidden implementation for DD::Image::Reader objects. More...
Inherits DD::Image::LUTInfo.
Public Member Functions | |
ReaderImpl (Read *pOp, Reader *pReader) | |
virtual LUT * | defaultLut () const |
virtual std::string | updateColorspaceDefaultValue () |
Update overridden colorspace name and call updateColorspaceDefaultValue from the base class (LUTInfo) | |
void | setOriginalDefaultLut (LUT *lut) |
Private, hidden implementation for DD::Image::Reader objects.
void ReaderImpl::setOriginalDefaultLut | ( | LUT * | lut | ) |
When Nuke is using OCIO color management, the reader's lut gets reset to linear in Read::make_reader(). This caused the problem that if updateColorspaceDefaultValue() is called after that it would determine the default colorspace mapping based on that, rather than what the reader actually specified for the default lut. This stores that original lut, and returns it from defaultLut() if set.
References DD::Image::Reader::lut().