Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorPhilipp Oeser <info@graphics-engineer.com>2020-12-21 16:57:36 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2021-01-05 15:30:51 +0300
commitfab772860d95a24e9989a40f72487b82af5dc388 (patch)
tree549a6c4ccef7c455e39ba9c9f338bb9f4c8f6bc5 /source
parentacfa7b102b97e4c823bd9dad1f214d6b33d02f44 (diff)
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
Diffstat (limited to 'source')
-rw-r--r--source/blender/makesrna/intern/rna_space.c4
1 files changed, 2 insertions, 2 deletions
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",