Report OpenSubdiv version Blender is compiled against

This commit is contained in:
Sergey Sharybin
2017-06-07 12:16:48 +02:00
parent 3fe73c72d6
commit 5489b40a5a
7 changed files with 168 additions and 0 deletions

View File

@@ -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: