diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-06-07 13:16:48 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-06-07 13:16:48 +0300 |
commit | 5489b40a5ad4294115b6e54460fbdd1826720d7d (patch) | |
tree | 795293cbd730a97980b23e2cfd3c0f474d04c05e /release | |
parent | 3fe73c72d63b58863db26feffb608835b0618187 (diff) |
Report OpenSubdiv version Blender is compiled against
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/modules/sys_info.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/release/scripts/modules/sys_info.py b/release/scripts/modules/sys_info.py index 5b81df28524..e447d8a4dc5 100644 --- a/release/scripts/modules/sys_info.py +++ b/release/scripts/modules/sys_info.py @@ -151,6 +151,13 @@ def write_sysinfo(filepath): else: output.write("Blender was built without Cycles support\n") + opensubdiv = bpy.app.opensubdiv + output.write("OpenSubdiv: ") + if opensubdiv.supported: + output.write("%s\n" % opensubdiv.version_string) + else: + output.write("Blender was built without OpenSubdiv support\n") + openvdb = bpy.app.openvdb output.write("OpenVDB: ") if openvdb.supported: |