Fix File Browser filtering showing workspaces for "Environment" category

This is not an appropriate category for workspaces.
Mistake in 7f564d74f9. My intention was probably to add it to the
"Miscellaneous" category.
This commit is contained in:
Julian Eisel 2020-09-30 20:47:18 +02:00
parent 2cc913d7d9
commit 2c317457cb
Notes: blender-bot 2023-02-14 07:47:59 +01:00
Referenced by commit fab772860d, Asset browser: workspace in the wrong category
Referenced by issue #82648, Grease Pencil drawing next to objects using 3D cursor and View mode previews
Referenced by issue #81820, difference in rendering of alpha material between 2.90 and 2.91 (Eevee)
Referenced by issue #77658, Reflection Plane partially missing reflections in EEVEE
1 changed files with 2 additions and 2 deletions

View File

@ -5620,13 +5620,13 @@ static void rna_def_fileselect_idfilter(BlenderRNA *brna)
ICON_IMAGE_DATA,
"Images & Sounds",
"Show images, movie clips, sounds and masks"},
{FILTER_ID_CA | FILTER_ID_LA | FILTER_ID_LP | FILTER_ID_SPK | FILTER_ID_WO | FILTER_ID_WS,
{FILTER_ID_CA | FILTER_ID_LA | FILTER_ID_LP | FILTER_ID_SPK | FILTER_ID_WO,
"category_environment",
ICON_WORLD_DATA,
"Environment",
"Show worlds, lights, cameras and speakers"},
{FILTER_ID_BR | FILTER_ID_GD | FILTER_ID_PA | FILTER_ID_PAL | FILTER_ID_PC | FILTER_ID_TXT |
FILTER_ID_VF | FILTER_ID_CF,
FILTER_ID_VF | FILTER_ID_CF | FILTER_ID_WS,
"category_misc",
ICON_GREASEPENCIL,
"Miscellaneous",