Fix: File Browser: Filter for Annotations and Grease Pencil

The current filter was still using the legacy Grease Pencil
type (now Annotations).

Now this uses the correct `FILTER_ID_GP` and uses the
other filter for Annotations.

Pull Request: https://projects.blender.org/blender/blender/pulls/146978
This commit is contained in:
Falk David
2025-09-29 15:48:32 +02:00
committed by Falk David
parent 24a33045cd
commit 7ac7aadce5

View File

@@ -126,6 +126,11 @@ const IDFilterEnumPropertyItem rna_enum_id_type_filter_items[] = {
{FILTER_ID_CF, "filter_cachefile", ICON_FILE, "Cache Files", "Show Cache File data-blocks"},
{FILTER_ID_CU_LEGACY, "filter_curve", ICON_CURVE_DATA, "Curves", "Show Curve data-blocks"},
{FILTER_ID_GD_LEGACY,
"filter_annotations",
ICON_OUTLINER_DATA_GREASEPENCIL,
"Annotations",
"Show Annotation data-blocks"},
{FILTER_ID_GP,
"filter_grease_pencil",
ICON_GREASEPENCIL,
"Grease Pencil",