[Bf-blender-cvs] [42091addb02] blender-projects-basics: Add comment on asset library definition

Julian Eisel noreply at git.blender.org
Tue Oct 18 16:24:51 CEST 2022


Commit: 42091addb021935fd1f8a4bc52d420aafef328a1
Author: Julian Eisel
Date:   Tue Oct 18 15:45:20 2022 +0200
Branches: blender-projects-basics
https://developer.blender.org/rB42091addb021935fd1f8a4bc52d420aafef328a1

Add comment on asset library definition

===================================================================

M	source/blender/makesdna/DNA_asset_types.h

===================================================================

diff --git a/source/blender/makesdna/DNA_asset_types.h b/source/blender/makesdna/DNA_asset_types.h
index 253379212e2..2bbf38b108e 100644
--- a/source/blender/makesdna/DNA_asset_types.h
+++ b/source/blender/makesdna/DNA_asset_types.h
@@ -102,7 +102,6 @@ typedef enum eAssetLibraryType {
 /**
  * Information to identify an asset library. May be either one of the predefined types ("Current
  * File" builtin library), or a custom type as defined in the Preferences/Project.
- *
  */
 typedef struct AssetLibraryReference {
   /* If set to #ASSET_LIBRARY_CUSTOM_XXX, `custom_library_index` must be set to identify
@@ -117,6 +116,10 @@ typedef struct AssetLibraryReference {
   int custom_library_index;
 } AssetLibraryReference;
 
+/**
+ * Custom asset libraries can be registered in the preferences or project settings. This is the
+ * container to hold these settings.
+ */
 typedef struct CustomAssetLibraryDefinition {
   struct CustomAssetLibraryDefinition *next, *prev;



More information about the Bf-blender-cvs mailing list