blender/scripts/addons_core/pose_library
Julian Eisel 7a3960fd72 Fix #147491: Performance drop in Compositor with large asset library
Adds ID-type filtering options like `filter_object`, `filter_brush`,
etc. to the asset shelf registration properties. This allows efficiently
discarding many irrelevant assets from further processing.

When displaying the asset shelf, we would call into the Python defined
`asset_poll()` method for every asset. This has some cost, and with many
assets this would add up and make the asset shelf slow to redraw. In the
compositor, transforming nodes would redraw the entire editor, including
the asset shelf, so this slowdown would become very apparent (we could
avoid redrawing the asset shelf here, but better address the slowdown
itself).

By having some way to let the asset shelf specify the ID types to
display, we can discard many assets before even calling the asset-poll
method.

Pull Request: https://projects.blender.org/blender/blender/pulls/150090
2025-11-19 12:22:08 +01:00
..
__init__.py Anim: Remove legacy pose library conversion 2025-09-30 16:13:04 +02:00
asset_browser.py
functions.py
gui.py Fix #147491: Performance drop in Compositor with large asset library 2025-11-19 12:22:08 +01:00
keymaps.py Fix #145388: Pose library breaks double-click in file browser 2025-08-29 14:58:40 +02:00
operators.py Anim: Remove legacy pose library conversion 2025-09-30 16:13:04 +02:00
pose_creation.py Refactor: lazy import anim_utils from bpy_extras 2025-10-02 17:00:13 +02:00
pose_usage.py Fix #147709: Use correct property for bone selection in Python 2025-10-09 16:52:06 +02:00