WIP add default library_name for unknown platforms #104492

Open
Shane Ambler wants to merge 1 commits from ShaneAmbler/blender-addons:draco-libname into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 1 additions and 1 deletions

View File

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