WIP add default library_name for unknown platforms #104492
@ -33,7 +33,7 @@ def dll_path() -> Path:
|
|||||||
'win32': '{}.dll'.format(lib_name),
|
'win32': '{}.dll'.format(lib_name),
|
||||||
'linux': 'lib{}.so'.format(lib_name),
|
'linux': 'lib{}.so'.format(lib_name),
|
||||||
'darwin': 'lib{}.dylib'.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:
|
if path is None or library_name is None:
|
||||||
|
|||||||
print_console('WARNING', 'Unsupported platform {}, Draco mesh compression is unavailable'.format(sys.platform))
|
print_console('WARNING', 'Unsupported platform {}, Draco mesh compression is unavailable'.format(sys.platform))
|
||||||
|
Loading…
Reference in New Issue
Block a user
Setting a default library name makes this check unrelevant