Error loading lut using environment variables


Simon Björk <bjork...@...>
 

I'm trying to add a colorspace that is using a $SHOT env. It all works as expected if the shot lut exist. If the shot lut does not exist an error is thrown:

The specified file reference  '${SHOT}.cube' could not be located. The following attempts were made: D:\ocio_test\luts\sh001.cube

If I start Nuke i get an error saying it can't load the config file.

Is there anyway to get around this (without creating "dummy" luts)? Can if/else statements be used in the config somehow? It would be great if there was a way to skip the colorspace if the evaluated file doesn't exist.

/Simon



-------------------------------
Simon Björk
Compositor/TD

+46 (0)70-2859503

Join ocio-dev@lists.aswf.io to automatically receive all group messages.