imageworks/OpenColorIO — Issue #206: Detect cyclical colorspace definitions
Author: jeremyselan
Created: 2011-12-20 22:26:48+00:00
State: open
Labels: bug

cs = OCIO.ColorSpace()
cs.setName('taco')
groupTransform = OCIO.GroupTransform()
groupTransform.push_back(OCIO.ColorSpaceTransform(src='lnf', dst='taco'))

This will try to loop forever. This should be caught by sanity check (ideally), or worst case at runtime.