Skip to content

Commit 07f81c5

Browse files
sobotkascoopxyz
authored andcommitted
Fix AllocationTransform to use a proper enum. (#480)
Fixes #473
1 parent 0e6439b commit 07f81c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/developers/bindings/PythonTransforms.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ AllocationTransform
1717
1818
import PyOpenColorIO as OCIO
1919
transform = OCIO.AllocationTransform()
20-
transform.setAllocation(OCIO.Constants.ALLOCATION)
20+
transform.setAllocation(OCIO.Constants.ALLOCATION_LG2)
2121
2222
.. autoclass:: PyOpenColorIO.AllocationTransform
2323
:members:

0 commit comments

Comments
 (0)