Skip to content
Snippets Groups Projects

:coffin: Remove setting ocio - now hanled by Env Var

Merged Ghost User requested to merge develop into main
1 file
+ 0
8
Compare changes
  • Side-by-side
  • Inline
+ 0
8
@@ -51,13 +51,6 @@ pm.optionVar(sv=("workingUnitTimeDefault", "film"))
# Turn off userSetup warning
pm.optionVar(iv=("SafeModeUserSetupHashOption", 0))
# Not necessary when using ENV VAR
# def import_ocio():
# ocio_config = "//bf-pixstor/tech/pipeline/ocio/OpenColorIO-Configs-master/aces_1.2/config.ocio"
# pm.colorManagementPrefs(edit=True, configFilePath=ocio_config)
# pm.colorManagementPrefs(edit=True, cmEnabled=True)
# pm.colorManagementPrefs(edit=True, cmConfigFileEnabled=True)
def import_colour_management():
colour_management_path = directory.joinpath("colour_management.xml")
@@ -65,5 +58,4 @@ def import_colour_management():
print('Colour management set up')
pm.evalDeferred('import_ocio()', lowestPriority=True)
pm.evalDeferred('import_colour_management()', lowestPriority=True)
Loading