mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
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 |
||
|---|---|---|
| .. | ||
| addon_add_object.py | ||
| background_job.py | ||
| batch_export.py | ||
| bmesh_simple.py | ||
| bmesh_simple_editmode.py | ||
| builtin_keyingset.py | ||
| custom_nodes.py | ||
| driver_functions.py | ||
| external_script_stub.py | ||
| gizmo_custom_geometry.py | ||
| gizmo_operator.py | ||
| gizmo_operator_target.py | ||
| gizmo_simple_2d.py | ||
| gizmo_simple_3d.py | ||
| image_processing.py | ||
| operator_file_export.py | ||
| operator_file_import.py | ||
| operator_mesh_add.py | ||
| operator_mesh_uv.py | ||
| operator_modal.py | ||
| operator_modal_draw.py | ||
| operator_modal_timer.py | ||
| operator_modal_view3d.py | ||
| operator_modal_view3d_raycast.py | ||
| operator_node.py | ||
| operator_simple.py | ||
| ui_asset_shelf.py | ||
| ui_list.py | ||
| ui_list_generic.py | ||
| ui_list_simple.py | ||
| ui_menu.py | ||
| ui_menu_simple.py | ||
| ui_panel.py | ||
| ui_panel_simple.py | ||
| ui_pie_menu.py | ||
| ui_previews_custom_icon.py | ||
| ui_previews_dynamic_enum.py | ||
| ui_tool_simple.py | ||