diff options
author | Julian Eisel <julian@blender.org> | 2021-10-26 15:33:23 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2021-10-26 20:24:46 +0300 |
commit | 3286150ac9ab2c51cf4a12e75125c52de13fb9a0 (patch) | |
tree | 869cf2795771df90b84d4bd7e9e4f078046f83e0 /source/blender/editors/asset/intern | |
parent | 7bffddfa6e877bd6e66cf5641515ebd07267f145 (diff) |
Assets: Enable object asset support by default
The two blocking issues for object assets are addressed, see T92111 and T90198.
So now, objects can be marked as assets and be used in the Asset Browser.
Diffstat (limited to 'source/blender/editors/asset/intern')
-rw-r--r-- | source/blender/editors/asset/intern/asset_type.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/asset/intern/asset_type.cc b/source/blender/editors/asset/intern/asset_type.cc index cdff538a712..028c0cb9ffc 100644 --- a/source/blender/editors/asset/intern/asset_type.cc +++ b/source/blender/editors/asset/intern/asset_type.cc @@ -30,7 +30,7 @@ bool ED_asset_type_id_is_non_experimental(const ID *id) { /* Remember to update #ED_ASSET_TYPE_IDS_NON_EXPERIMENTAL_UI_STRING and * #ED_ASSET_TYPE_IDS_NON_EXPERIMENTAL_FLAGS() with this! */ - return ELEM(GS(id->name), ID_MA, ID_AC, ID_WO); + return ELEM(GS(id->name), ID_MA, ID_OB, ID_AC, ID_WO); } bool ED_asset_type_is_supported(const ID *id) |