Persist _enum_cb_cache
and _str_cb_cache
in BLField
#13
Labels
No Label
abstractions
architecture
bug
distribution
docs
duplicate
enhancement
feature
physical
proposal
question
simulation
tooling
tracker
unconfirmed
ux
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: so-rose/oscillode#13
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
The lack of persistence for the dynamic
EnumProperty
callbacks causes dynamic enums to severely break on startup if they cannot perfectly recompute.There are many situations where the data might not be instantly available - lacking internet, file moved, etc. . Nodes ought to not fundamentally break when that happens. Persisting them doesn't solve the underlying problems, but it makes nodes that rely on dynamic enums far more robust, by guaranteeing that reloading Blender won't alter their state.
Persisting `_enum_cb_cache` and `_str_cb_cache` in `BLField`to Persist `_enum_cb_cache` and `_str_cb_cache` in `BLField`