[Bf-blender-cvs] [1b11d52a814] temp-bundled-assets: use another identifier for bundled asset lib

Jacques Lucke noreply at git.blender.org
Tue Jan 24 19:29:57 CET 2023


Commit: 1b11d52a8145fc621fa9243bcc66373ca391bd68
Author: Jacques Lucke
Date:   Tue Jan 24 18:56:27 2023 +0100
Branches: temp-bundled-assets
https://developer.blender.org/rB1b11d52a8145fc621fa9243bcc66373ca391bd68

use another identifier for bundled asset lib

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

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 504d05d45dd..fa77a0b90a6 100644
--- a/source/blender/makesdna/DNA_asset_types.h
+++ b/source/blender/makesdna/DNA_asset_types.h
@@ -85,11 +85,11 @@ typedef struct AssetMetaData {
 } AssetMetaData;
 
 typedef enum eAssetLibraryType {
-  /* For the future. Display assets bundled with Blender by default. */
-  ASSET_LIBRARY_BUNDLED = 0,
   /** Display assets from the current session (current "Main"). */
   ASSET_LIBRARY_LOCAL = 1,
   ASSET_LIBRARY_ALL = 2,
+  /* Display assets bundled with Blender by default. */
+  ASSET_LIBRARY_BUNDLED = 3,
 
   /** Display assets from custom asset libraries, as defined in the preferences
    * (#bUserAssetLibrary). The name will be taken from #FileSelectParams.asset_library_ref.idname



More information about the Bf-blender-cvs mailing list