Fix: 'By Active Tool' Filter shows no brushes in asset shelf

Introduced with ab3c129dd9

Pull Request: https://projects.blender.org/blender/blender/pulls/140148
This commit is contained in:
Sean Kim
2025-06-10 22:36:50 +02:00
committed by Sean Kim
parent 71e02b3229
commit 8801af6042

View File

@@ -27,7 +27,7 @@ class BrushAssetShelf:
from bl_ui.space_toolsystem_common import ToolSelectPanelHelper
space_type = context.space_data.type
brush_type_items = bpy.types.Brush.bl_rna.properties[cls.tool_prop].enum_items
brush_type_items = bpy.types.Brush.bl_rna.properties[cls.brush_type_prop].enum_items
tool_helper_cls = ToolSelectPanelHelper._tool_class_from_space_type(space_type)
for item in ToolSelectPanelHelper._tools_flatten(