From fab772860d95a24e9989a40f72487b82af5dc388 Mon Sep 17 00:00:00 2001 From: Philipp Oeser Date: Mon, 21 Dec 2020 14:57:36 +0100 Subject: Asset browser: workspace in the wrong category Workspaces [FILTER_ID_WS] were in the `Environment` category IDFilterBoolean, whereas they are in the `Miscellaneous` category in `rna_def_fileselect_asset_params`. Make this consistent ['Miscellaneous'] in both cases. (note this was already done in rB2c317457cbf2 for the file browser case) Spotted while looking into T83983. Maniphest Tasks: T83983 Differential Revision: https://developer.blender.org/D9911 --- source/blender/makesrna/intern/rna_space.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source') diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c index a748508c996..2ee84f70752 100644 --- a/source/blender/makesrna/intern/rna_space.c +++ b/source/blender/makesrna/intern/rna_space.c @@ -6293,13 +6293,13 @@ static void rna_def_fileselect_asset_params(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, "ENVIRONMENTS", 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, "MISC", ICON_GREASEPENCIL, "Miscellaneous", -- cgit v1.2.3