ID 218396 - OCIO Environment variables not interacting properly with Mari

Follow

Problem summary

The OCIO specification states that you can use the OCIO_ACTIVE_VIEWS and OCIO_ACTIVE_DISPLAYS to dictate the available displays and views the Monitor should show and also set a specific ordering from them together with the default selected version. These don't seem to be taken into account correctly at present.

Steps to reproduce

1. set the OCIO env var to point to the aces configuration: 

set OCIO=C:\Program Files\Nuke10.0v1.001357b\plugins\OCIOConfigs\configs\aces_0.1.1\config.ocio
2. set OCIO_ACTIVE_VIEWS and OCIO_ACTIVE_DISPLAYS as:

set OCIO_ACTIVE_VIEWS="RRT:Log"set OCIO_ACTIVE_DISPLAYS="xyz:SRGB"
3. Launch Mari through the terminal you set the environment variables using "C:\Program Files\Mari3.1v1\Bundle\bin\Mari3.1v1.exe" 
 
4. Note the order of the LUTS are not correct. Essentially, it loads the stated OCIO config correctly, but it does not populate the list properly or set the default colourspace either.
 

Reproduced by support

Win7 Mari 3.1v1, 3.0v1

Expected behaviour

The OCIO_ACTIVE_VIEWS and OCIO_ACTIVE_DISPLAYS env vars should dictate the active_view and active_display options inclusion, ordering and default selection.

Actual behaviour

The OCIO_ACTIVE_DISPLAYS env var dictates the active_display options inclusion and default selection but not the list ordering. The OCIO_ACTIVE_VIEWS env var dictates the active_view default option selection but not the options list inclusion and ordering.

    We're sorry to hear that

    Please tell us why