Skip to content

Commit

Permalink
Fix missing Default View Transform on equal operator (#1886)
Browse files Browse the repository at this point in the history
Add the missing assignment of the the default view transform when a config is copied using the equal operator

Signed-off-by: Michael De Caria <decariamichael@gmail.com>
Signed-off-by: Doug Walker <doug.walker@autodesk.com>
Co-authored-by: Doug Walker <doug.walker@autodesk.com>
  • Loading branch information
mdecaria and doug-walker committed Oct 27, 2023
1 parent 8add374 commit bc8569b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OpenColorIO/Config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ class Config::Impl
{
m_viewTransforms.push_back(vt->createEditableCopy());
}

m_defaultViewTransform = rhs.m_defaultViewTransform;
m_defaultLumaCoefs = rhs.m_defaultLumaCoefs;
m_strictParsing = rhs.m_strictParsing;

Expand Down

0 comments on commit bc8569b

Please sign in to comment.