glTF Draco: more explicit error message

This commit is contained in:
Julien Duroure 2021-07-04 17:42:01 +02:00
parent 57ef445314
commit eedbe30379
2 changed files with 6 additions and 2 deletions

View File

@ -15,7 +15,7 @@
bl_info = {
'name': 'glTF 2.0 format',
'author': 'Julien Duroure, Scurest, Norbert Nopper, Urs Hanselmann, Moritz Becher, Benjamin Schmithüsen, Jim Eckerlein, and many external contributors',
"version": (1, 7, 9),
"version": (1, 7, 10),
'blender': (2, 91, 0),
'location': 'File > Import-Export',
'description': 'Import-Export as glTF 2.0',

View File

@ -60,5 +60,9 @@ def dll_exists(quiet=False) -> bool:
exists = dll_path().exists()
if quiet is False:
print("'{}' ".format(dll_path().absolute()) + ("exists, draco mesh compression is available" if exists else
"does not exist, draco mesh compression not available"))
"{} {} {}".format(
"does not exist, draco mesh compression not available,",
"please add it or create environment variable BLENDER_EXTERN_DRACO_LIBRARY_PATH",
"pointing to the folder"
)))
return exists