Menu

ocio path gets stored in the prefs from the OCIO env variable

Bugs
2018-05-20
2018-05-20
  • Dominik Pott

    Dominik Pott - 2018-05-20

    Hey gga,

    currently the ocio path in the prefs gets changed permanently from the default one if the OCIO env variable is set.
    This might lead to problems. If we first launch mrViewer with an OCIO env set to look at color managed picutres in projectA. Later we want to look at a image sequence from project b which doesn't have ocio or its just footage from the internet which hasn't any color management. Then the ocio will still be loaded from projectA.
    Can we change this behaviour so that:

    1. The default viewer uses your supplied ocio config or the one which got picked in the prefs (Thats how it is now.)
    2. If the OCIO env variable is present the prefs for ocio config file will be irgnored and .config file is read on the fly from the env variable without updating the prefs location! Also automaticly enabling the Use OCIO would helpful. Maybe disabling the selection settings for the OCIO config File and giving a little hint that the config is read from the env variable should also be done.

    And while we're at it the toggle Use OCIO is not the same type of toggle as the others in the preferences. Its ether dark or light grey which is really confusing to know which state is currently in. All others have a yellow point when active.

    Thanks,

    Dome

     
  • ggarra13

    ggarra13 - 2018-05-20

    Dominic,

    I am not quite sure what you want. The environment variable takes precedence over any other setting. If it is not set, mrViewer will try to load the preference from the prefs file (which gets set only if you save the preferences). If it is still not found, it will load the nuke-default one. The nuke-default one has settings for sRGB and scene_linear, so it should be all set for a project without a default config. Currently the log window reports where the config file is read from. If that is still not enough you can always turn off Use Ocio from the Preferences.

     

    Last edit: ggarra13 2018-05-20
  • Dominik Pott

    Dominik Pott - 2018-05-20

    Sorry you are absolutely right. I didn't check properly or managed somehow to set the prefs to point always to my config file. Works as expected with clean prefs. Sorry again about that.

    Cheers Dome

     

Log in to post a comment.

MongoDB Logo MongoDB