Skip to content

Commit

Permalink
Fix missing Default View Transform on equal operator (AcademySoftware…
Browse files Browse the repository at this point in the history
…Foundation#1886)

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 <[email protected]>
Signed-off-by: Doug Walker <[email protected]>
Co-authored-by: Doug Walker <[email protected]>
(cherry picked from commit bc8569b)
Signed-off-by: Doug Walker <[email protected]>
  • Loading branch information
mdecaria and doug-walker committed Dec 6, 2023
1 parent df70d6a commit 81518a9
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 81518a9

Please sign in to comment.