diff --git a/scripts/addons_core/io_scene_gltf2/io/com/draco.py b/scripts/addons_core/io_scene_gltf2/io/com/draco.py index 75e23162c67..a3cad997f73 100644 --- a/scripts/addons_core/io_scene_gltf2/io/com/draco.py +++ b/scripts/addons_core/io_scene_gltf2/io/com/draco.py @@ -35,7 +35,7 @@ def dll_path() -> Path: python_lib = Path('{v[0]}.{v[1]}/python/lib'.format(v=bpy.app.version)) python_version = 'python{v[0]}.{v[1]}'.format(v=sys.version_info) - path = os.environ.get('BLENDER_EXTERN_DRACO_LIBRARY_PATH') + path = f"{site.getsitepackages()[0]}/libextern_draco.so" if path is not None: return Path(path)