Added support for including the ACES transform ID in the colorspace description....
[OpenColorIO-Configs.git] / aces_1.0.0 / python / aces_ocio / utilities.py
index b64cc62..e598221 100644 (file)
@@ -39,13 +39,14 @@ class ColorSpace(object):
                  aliases=[],
                  description=None,
                  bit_depth=ocio.Constants.BIT_DEPTH_F32,
-                 equality_group=None,
+                 equality_group='',
                  family=None,
                  is_data=False,
                  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.
 
@@ -61,7 +62,7 @@ class ColorSpace(object):
         """
 
         self.name = name
-        self.aliases = []
+        self.aliases = aliases
         self.bit_depth = bit_depth
         self.description = description
         self.equality_group = equality_group
@@ -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.aces_transform_id = aces_transform_id
 
 def mat44_from_mat33(mat33):
     """