3 @@ -898,11 +898,6 @@ set_and_warn_dependency(WITH_PYTHON WITH_CYCLES OFF)
4 set_and_warn_dependency(WITH_PYTHON WITH_DRACO OFF)
5 set_and_warn_dependency(WITH_PYTHON WITH_MOD_FLUID OFF)
7 -if(WITH_DRACO AND NOT WITH_PYTHON_INSTALL)
8 - message(STATUS "WITH_DRACO requires WITH_PYTHON_INSTALL to be ON, disabling WITH_DRACO for now")
12 # enable boost for cycles, audaspace or i18n
13 # otherwise if the user disabled
15 --- a/scripts/addons_core/io_scene_gltf2/io/com/gltf2_io_draco_compression_extension.py
16 +++ b/scripts/addons_core/io_scene_gltf2/io/com/gltf2_io_draco_compression_extension.py
17 @@ -17,7 +17,7 @@ def dll_path() -> Path:
19 lib_name = 'extern_draco'
20 - blender_root = Path(bpy.app.binary_path).parent
21 + blender_root = Path(bpy.app.binary_path).parent.parent
22 - python_lib = Path('{v[0]}.{v[1]}/python/lib'.format(v=bpy.app.version))
23 + python_lib = Path('share/blender/{v[0]}.{v[1]}/python-ext/lib'.format(v=bpy.app.version))
24 python_version = 'python{v[0]}.{v[1]}'.format(v=sys.version_info)
26 path = os.environ.get('BLENDER_EXTERN_DRACO_LIBRARY_PATH')