WIP add default library_name for unknown platforms #104492
No reviewers
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#104492
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "ShaneAmbler/blender-addons:draco-libname"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When retrieving the draco libname from the dict, we can set a default value to be used for unknown platform names, leaving entries only for known variations to this naming convention.
The entry for linux could also be removed as it can use this default.
Another possibility is to support an environment variable to configure libname, similar to
BLENDER_EXTERN_DRACO_LIBRARY_PATH
@ -36,3 +36,3 @@
}.get(sys.platform)
}.get(sys.platform, 'lib{}.so'.format(lib_name))
if path is None or library_name is None:
Setting a default library name makes this check unrelevant
No news from the contributor since a very long time, closing it.
Feel free to take feedback into account or create a new PR if needed
Well
library_name
would never be None butpath
can be None so it could be changed toif path is None:
Pull request closed