Extend system-info with information about OIIO, OCIO and OSL

Summary:
Version of those libraries might be useful to know.

- OIIO and OCIO is exposed via bpy.app.oiio and bpy.app.ocio.
  There're "supported", "version" and "version_string" defined
  in those modules.

- OSL is available as _cycles.osl_version and _cycles.osl_version_string.

Reviewers: campbellbarton

Reviewed By: campbellbarton

CC: dingto

Differential Revision: http://developer.blender.org/D79
This commit is contained in:
Sergey Sharybin
2013-12-08 15:03:17 +06:00
parent 55416f435a
commit 46f8dba4c7
16 changed files with 401 additions and 1 deletions

View File

@@ -183,8 +183,13 @@ if env['WITH_BF_SMOKE']:
if env['WITH_BF_COLLADA']:
defs.append('WITH_COLLADA')
if env['WITH_BF_OIIO']:
if env['WITH_BF_OCIO']:
defs.append('WITH_OCIO')
incs += ' ' + '#/intern/opencolorio'
if env['WITH_BF_OIIO']:
defs.append('WITH_OPENIMAGEIO')
incs += ' ../../imbuf/intern/oiio'
if env['WITH_BF_PLAYER']:
defs.append('WITH_PLAYER')