[Bf-blender-cvs] [ad7c0e4cd9c] asset-greasepencil: GPencil: Remove tags creation
Antonio Vazquez
noreply at git.blender.org
Wed Aug 11 16:57:44 CEST 2021
Commit: ad7c0e4cd9c638535442d0ed421df4e57c14e702
Author: Antonio Vazquez
Date: Wed Aug 11 16:57:38 2021 +0200
Branches: asset-greasepencil
https://developer.blender.org/rBad7c0e4cd9c638535442d0ed421df4e57c14e702
GPencil: Remove tags creation
Remove the creation of automatic tags.
===================================================================
M source/blender/editors/gpencil/gpencil_asset.c
===================================================================
diff --git a/source/blender/editors/gpencil/gpencil_asset.c b/source/blender/editors/gpencil/gpencil_asset.c
index 1fa4b8065cd..edd6dd83a47 100644
--- a/source/blender/editors/gpencil/gpencil_asset.c
+++ b/source/blender/editors/gpencil/gpencil_asset.c
@@ -361,12 +361,6 @@ static bool gpencil_asset_create(const bContext *C,
/* Mark as asset. */
if (ED_asset_mark_id(C, &gpd->id)) {
- const char *tags[] = {"Grease Pencil", "Animation"};
- /* Add tags to asset. */
- BKE_asset_metadata_tag_ensure(gpd->id.asset_data, tags[0]);
- if (is_animation) {
- BKE_asset_metadata_tag_ensure(gpd->id.asset_data, tags[1]);
- }
/* Retime frame number to start by 1. Must be done after generate the render preview. */
LISTBASE_FOREACH (bGPDlayer *, gpl, &gpd->layers) {
More information about the Bf-blender-cvs
mailing list