From b03c25d1cd1816083dff93915bbc0e79f5c50c09 Mon Sep 17 00:00:00 2001 From: sambler Date: Sun, 19 Mar 2023 11:14:07 +1030 Subject: [PATCH] add default library_name for unknown platforms --- io_scene_gltf2/io/com/gltf2_io_draco_compression_extension.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io_scene_gltf2/io/com/gltf2_io_draco_compression_extension.py b/io_scene_gltf2/io/com/gltf2_io_draco_compression_extension.py index b9f9ccecf..e2cd82f2d 100644 --- a/io_scene_gltf2/io/com/gltf2_io_draco_compression_extension.py +++ b/io_scene_gltf2/io/com/gltf2_io_draco_compression_extension.py @@ -33,7 +33,7 @@ def dll_path() -> Path: 'win32': '{}.dll'.format(lib_name), 'linux': 'lib{}.so'.format(lib_name), 'darwin': 'lib{}.dylib'.format(lib_name) - }.get(sys.platform) + }.get(sys.platform, 'lib{}.so'.format(lib_name)) if path is None or library_name is None: print_console('WARNING', 'Unsupported platform {}, Draco mesh compression is unavailable'.format(sys.platform)) -- 2.30.2