forked from AcademySoftwareFoundation/OpenColorIO
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix regression in cccid handling when no value is supplied (AcademySo…
…ftwareFoundation#1855) In v1 of OCIO FileTransforms are able to load .cc files without specifying a cccid. In v2 this broke causing an exception to be raised instead of using the first cc found in the file. Signed-off-by: Kevin Wheatley <[email protected]> Co-authored-by: Doug Walker <[email protected]> (cherry picked from commit c7ad353) Signed-off-by: Doug Walker <[email protected]>
- Loading branch information
1 parent
bbcfab6
commit bc60158
Showing
5 changed files
with
98 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ColorCorrection> | ||
<SOPNode> | ||
<Description>No Op CDL</Description> | ||
<Slope>1.00000 1.00000 1.00000</Slope> | ||
<Offset>0.00000 0.00000 0.00000</Offset> | ||
<Power>1.00000 1.00000 1.00000</Power> | ||
</SOPNode> | ||
<SatNode> | ||
<Saturation>1.00000</Saturation> | ||
</SatNode> | ||
</ColorCorrection> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ColorCorrection> | ||
<SOPNode> | ||
<Description>No Op CDL</Description> | ||
<Slope>1.00000 1.00000 1.00000</Slope> | ||
<Offset>0.00000 0.00000 0.00000</Offset> | ||
<Power>1.00000 1.00000 1.00000</Power> | ||
</SOPNode> | ||
<SatNode> | ||
<Saturation>1.00000</Saturation> | ||
</SatNode> | ||
</ColorCorrection> |