projects
/
OpenColorIO-Configs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added support for including the ACES transform ID in the colorspace description....
[OpenColorIO-Configs.git]
/
aces_1.0.0
/
python
/
aces_ocio
/
utilities.py
diff --git
a/aces_1.0.0/python/aces_ocio/utilities.py
b/aces_1.0.0/python/aces_ocio/utilities.py
index
56c9c9d
..
e598221
100644
(file)
--- a/
aces_1.0.0/python/aces_ocio/utilities.py
+++ b/
aces_1.0.0/python/aces_ocio/utilities.py
@@
-45,7
+45,8
@@
class ColorSpace(object):
to_reference_transforms=[],
from_reference_transforms=[],
allocation_type=ocio.Constants.ALLOCATION_UNIFORM,
to_reference_transforms=[],
from_reference_transforms=[],
allocation_type=ocio.Constants.ALLOCATION_UNIFORM,
- allocation_vars=[0, 1]):
+ allocation_vars=[0, 1],
+ aces_transform_id=None):
"""
Object description.
"""
Object description.
@@
-71,7
+72,7
@@
class ColorSpace(object):
self.from_reference_transforms = from_reference_transforms
self.allocation_type = allocation_type
self.allocation_vars = allocation_vars
self.from_reference_transforms = from_reference_transforms
self.allocation_type = allocation_type
self.allocation_vars = allocation_vars
-
+ self.aces_transform_id = aces_transform_id
def mat44_from_mat33(mat33):
"""
def mat44_from_mat33(mat33):
"""