diff options
author | Julian Eisel <julian@blender.org> | 2021-10-25 14:48:48 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2021-10-25 14:51:14 +0300 |
commit | 4100a79219e7f7c474046806db3e156be34a1011 (patch) | |
tree | 2cae61fb3d31406299df7156087c2ad0caa20e8e /source/blender/makesdna | |
parent | e7bea3fb6ed00f5eb9e332d1d5162097e865a1c0 (diff) |
Assets: Add Author field to asset metadata
This is information you'd typically want to be visible in the UI. It's optional
of course, so if not relevant, it can just remain unset.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_asset_types.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_asset_types.h b/source/blender/makesdna/DNA_asset_types.h index f5bdad3e79e..60de254fec7 100644 --- a/source/blender/makesdna/DNA_asset_types.h +++ b/source/blender/makesdna/DNA_asset_types.h @@ -72,8 +72,12 @@ typedef struct AssetMetaData { * #catalog_id is updated. */ char catalog_simple_name[64]; /* MAX_NAME */ + /** Optional name of the author for display in the UI. Dynamic length. */ + char *author; + /** Optional description of this asset for display in the UI. Dynamic length. */ char *description; + /** User defined tags for this asset. The asset manager uses these for filtering, but how they * function exactly (e.g. how they are registered to provide a list of searchable available tags) * is up to the asset-engine. */ |