Code formatting.
[OpenColorIO-Configs.git] / aces_1.0.0 / python / aces_ocio / colorspaces / sony.py
index 1d4e059..8cdc923 100644 (file)
@@ -61,6 +61,11 @@ def create_s_log(gamut,
     cs.family = 'Input/Sony'
     cs.is_data = False
 
+    if gamut and transfer_function:
+        cs.aces_transform_id = "IDT.Sony.%s_%s_10i.a1.v1" % (
+            transfer_function.replace('-', ''),
+            gamut.replace('-', '').replace(' ', '_'))
+
     # A linear space needs allocation variables
     if transfer_function == '':
         cs.allocation_type = ocio.Constants.ALLOCATION_LG2