1
1

Docs: Add relevant OCIO envvars to Blender's help message

This commit is contained in:
2021-05-28 15:32:12 -04:00
parent 115547991a
commit 30f7acfffa
2 changed files with 13 additions and 0 deletions

View File

@@ -119,6 +119,10 @@ if(WITH_GMP)
add_definitions(-DWITH_GMP)
endif()
if(WITH_OPENCOLORIO)
add_definitions(-DWITH_OCIO)
endif()
# Setup the exe sources and buildinfo
set(SRC
creator.c

View File

@@ -674,6 +674,15 @@ static int arg_handle_print_help(int UNUSED(argc), const char **UNUSED(argv), vo
printf(" $BLENDER_USER_DATAFILES Directory for user data files (icons, translations, ..).\n");
printf(" $BLENDER_SYSTEM_DATAFILES Directory for system wide data files.\n");
printf(" $BLENDER_SYSTEM_PYTHON Directory for system Python libraries.\n");
# ifdef WITH_OCIO
printf(" $OCIO Path to override the OpenColorIO config file.\n");
printf(
" $OCIO_ACTIVE_DISPLAYS Overrides the active_displays list from the config file and "
"reorders them. Colon-separated list of displays, e.g 'sRGB:P3'.\n");
printf(
" $OCIO_ACTIVE_VIEWS Overrides the active_views list from the config file and "
"reorders them. Colon-separated list of view names, e.g 'internal:client:DI'.\n");
# endif
# ifdef WIN32
printf(" $TEMP Store temporary files here.\n");
# else