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:
authorSybren A. Stüvel <sybren@blender.org>2021-08-02 12:02:47 +0300
committerSybren A. Stüvel <sybren@blender.org>2021-08-02 12:08:02 +0300
commit1f0d6f763573b22772dcdb61320a12e1c11949e0 (patch)
tree03f68b9e777d507b3aeeb21fac35a172f32b95fa /source/blender/blenkernel/CMakeLists.txt
parent3fd5c93f9ce805b1a59bb6a03a9d39767697e336 (diff)
Asset Catalogs: loading a catalog definition file
Initial, limited implementation of loading a single asset catalog definition file. These files are structured as follows: CATALOG_ID virtual/path/of/catalog SUBCATALOG_ID virtual/path/of/catalog/child SOMETHING_ELSE some/unrelated/hierarchy These virtual paths will be used to show the catalog in a tree structure; the tree structure itself is not part of this commit. Each asset will have one catalog ID that determines where in that tree the asset shows up. Currently only a single catalog definition file can be read; merging data from multiple such files, and writing them out again after changes are made, is for future commits. This commit only contains the code to load a single file, and unittests to check that this actually works. No UI, no user-facing functionality yet.
Diffstat (limited to 'source/blender/blenkernel/CMakeLists.txt')
-rw-r--r--source/blender/blenkernel/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/CMakeLists.txt b/source/blender/blenkernel/CMakeLists.txt
index 78bfe8c9afb..7c02ffbc105 100644
--- a/source/blender/blenkernel/CMakeLists.txt
+++ b/source/blender/blenkernel/CMakeLists.txt
@@ -82,6 +82,7 @@ set(SRC
intern/armature_deform.c
intern/armature_pose.cc
intern/armature_update.c
+ intern/asset_catalog.cc
intern/asset.cc
intern/attribute.c
intern/attribute_access.cc
@@ -298,6 +299,7 @@ set(SRC
BKE_appdir.h
BKE_armature.h
BKE_armature.hh
+ BKE_asset_catalog.hh
BKE_asset.h
BKE_attribute.h
BKE_attribute_access.hh
@@ -771,6 +773,7 @@ if(WITH_GTESTS)
set(TEST_SRC
intern/action_test.cc
intern/armature_test.cc
+ intern/asset_catalog_test.cc
intern/cryptomatte_test.cc
intern/fcurve_test.cc
intern/lattice_deform_test.cc