Blender Git Commit Log

Git Commits -> Revision 769563d

September 2, 2021, 18:01 (GMT)
Basic support for creating catalogs from the UI

To the right of each catalog, the UI shows a '+' button now. It creates
a catalog (simply named "Catalog" for now) inside this parent catalog.
This change is written to the asset libraries catalog defintion file
immediately.
Adding multiple catalogs on the same level will cause errors currently,
since then you have multiple catalogs on the same level named "Catalog".
We'll have to ensure uniqueness there.

I think we should immediately enable renaming after creating a new
catalog, like we do it for creating new files in the File Browser.

Commit Details:

Full Hash: 769563deeb70d6ccd2042f0c14d97a5cb048ff97
Parent Commit: fcee735
Lines Changed: +176, -21

2 Added Paths:

/source/blender/editors/asset/ED_asset_catalog.hh (+32, -0) (View)
/source/blender/editors/asset/intern/asset_catalog.cc (+37, -0) (View)

7 Modified Paths:

/source/blender/blenkernel/BKE_asset_catalog.hh (+4, -0) (Diff)
/source/blender/blenkernel/intern/asset_catalog.cc (+28, -21) (Diff)
/source/blender/editors/asset/CMakeLists.txt (+3, -0) (Diff)
/source/blender/editors/asset/intern/asset_ops.cc (+51, -0) (Diff)
/source/blender/editors/include/ED_fileselect.h (+1, -0) (Diff)
/source/blender/editors/space_file/asset_catalog_tree_view.cc (+11, -0) (Diff)
/source/blender/editors/space_file/filesel.c (+9, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021