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
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2022-01-26 17:22:15 +0300
committerJacques Lucke <jacques@blender.org>2022-01-26 17:22:15 +0300
commit37848d1c8edf18ac52095cec7c50dfd1dde65e7c (patch)
treea05bd4e16e63bd64423419490d91822f11c0c84c /source/blender/editors/asset/intern
parent12b26d21b001359cb0bd48ed073aee8f314b3455 (diff)
Assets: enable node group assets
This enables support for node group assets. Previously, node group assets only worked when the "extended asset browser" experimental features is enabled. Differential Revision: https://developer.blender.org/D13748
Diffstat (limited to 'source/blender/editors/asset/intern')
-rw-r--r--source/blender/editors/asset/intern/asset_type.cc2
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 028c0cb9ffc..3d6ce3e3409 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_OB, ID_AC, ID_WO);
+ return ELEM(GS(id->name), ID_MA, ID_OB, ID_AC, ID_WO, ID_NT);
}
bool ED_asset_type_is_supported(const ID *id)