Revision cd2ea51 by Sybren A. Stüvel (temp-asset-browser-catalogs, temp-asset-browser-catalogs-ui, temp-assetlib-plus-uuid-rename) August 11, 2021, 09:35 (GMT) |
Cleanup, Asset Catalogs: turn default catalog filename into a constant Instead of hard-coding a path somewhere in the source, store it in a named string constant. No functional changes. |
Revision 4cd8cfe by Sybren A. Stüvel (temp-asset-browser-catalogs, temp-asset-browser-catalogs-ui, temp-assetlib-plus-uuid-rename) August 11, 2021, 09:34 (GMT) |
Cleanup: Asset Catalogs, make path separator static class member Make `AssetCatalogService::path_separator` a static class member. There is no need to make such constants per-object. This in itself isn't that interesting a change, but it will be relevant for an upcoming new string constant. No functional changes. |
Revision ec23ace by Sybren A. Stüvel (temp-asset-browser-catalogs, temp-asset-browser-catalogs-ui, temp-assetlib-plus-uuid-rename) August 11, 2021, 09:25 (GMT) |
Merge remote-tracking branch 'origin/master' into temp-asset-browser-catalogs |
Revision 76e3efe by Sybren A. Stüvel (temp-asset-browser-catalogs, temp-asset-browser-catalogs-ui, temp-assetlib-plus-uuid-rename) August 9, 2021, 15:53 (GMT) |
Cleanup: Assets, add asset catalog documentation comments |
Revision fc5f3b7 by Sybren A. Stüvel (temp-asset-browser-catalogs, temp-asset-browser-catalogs-ui, temp-assetlib-plus-uuid-rename) August 9, 2021, 15:53 (GMT) |
Cleanup: Assets, remove unused forward/namespace declarations |
Revision 4978e3d by Sybren A. Stüvel (temp-asset-browser-catalogs, temp-asset-browser-catalogs-ui, temp-assetlib-plus-uuid-rename) August 9, 2021, 15:49 (GMT) |
Cleanup: Asset Catalogs, make fields private and add `_` suffix. |
Revision 3c0cc81 by Sybren A. Stüvel (temp-asset-browser-catalogs, temp-asset-browser-catalogs-ui, temp-assetlib-plus-uuid-rename) August 9, 2021, 15:29 (GMT) |
Partially revert "Cleanup: Assets, move AssetLibrary struct to global namespace" This reverts the namespace changes from commit 784b97e280c1ba479822d0fba6ebfce0b91595d4. |
Revision 784b97e by Sybren A. Stüvel (temp-asset-browser-catalogs, temp-asset-browser-catalogs-ui, temp-assetlib-plus-uuid-rename) August 9, 2021, 15:01 (GMT) |
Cleanup: Assets, move AssetLibrary struct to global namespace Move `blender::bke::AssetLibrary` to the global namespace, causing the C `struct AssetLibrary` to refer to the same object as the corresponding C++ struct. Also move `intern/asset_library.hh` to `BKE_asset_library.hh`, mimicking `BKE_geometry_set.hh`. This makes the C and C++ pointers compatible, cleans up the code a bit, and aids in debugging. No functional changes. |
Revision 5526dbe by Sybren A. Stüvel (temp-asset-browser-catalogs, temp-asset-browser-catalogs-ui, temp-assetlib-plus-uuid-rename) August 9, 2021, 14:43 (GMT) |
Cleanup: C++ to C comment style No functional changes. |
Revision f45339d by Sybren A. Stüvel (temp-asset-browser-catalogs, temp-asset-browser-catalogs-ui, temp-assetlib-plus-uuid-rename) August 9, 2021, 14:43 (GMT) |
Fix pointer ownership issue in `AssetCatalogService::parse_catalog_file()`, and solve some feature envy by adding a few `AssetCatalogDefinitionFile` methods. |
Revision 624ca21 by Sybren A. Stüvel (temp-asset-browser-catalogs, temp-asset-browser-catalogs-ui, temp-assetlib-plus-uuid-rename) August 9, 2021, 12:45 (GMT) |
Filelist: load AssetLibrary (and thus catalogs) Load `AssetLibrary` struct when refreshing the filelist. This primarily loads the asset catalog definition files. |
Revision 82ffcc3 by Sybren A. Stüvel (temp-asset-browser-catalogs, temp-asset-browser-catalogs-ui, temp-assetlib-plus-uuid-rename) August 9, 2021, 10:39 (GMT) |
Merge remote-tracking branch 'origin/master' into temp-asset-browser-catalogs |
Revision 68ae900 by Sybren A. Stüvel (temp-asset-browser-catalogs, temp-asset-browser-catalogs-ui, temp-assetlib-plus-uuid-rename) August 9, 2021, 09:32 (GMT) |
Merge remote-tracking branch 'origin/master' into temp-asset-browser-catalogs |
Revision 697f8fc by Sybren A. Stüvel (temp-asset-browser-catalogs, temp-asset-browser-catalogs-ui, temp-assetlib-plus-uuid-rename) August 9, 2021, 07:40 (GMT) |
Merge remote-tracking branch 'origin/master' into temp-asset-browser-catalogs |
Revision cb0fe17 by Sybren A. Stüvel (temp-asset-browser-catalogs, temp-asset-browser-catalogs-ui, temp-assetlib-plus-uuid-rename) August 6, 2021, 15:11 (GMT) |
Assets: add AssetLibrary struct Add `AssetLibrary` struct that owns a pointer to an `AssetCatalogService`. The `struct AssetLibrary` is an opaque struct that C code can just pass around. It is created with `BKE_asset_library_load(library_path)` and freed with `BKE_asset_library_free(the_pointer)`. Note that this API is still experimental. |
Revision c120b25 by Sybren A. Stüvel (temp-asset-browser-catalogs, temp-asset-browser-catalogs-ui, temp-assetlib-plus-uuid-rename) August 6, 2021, 13:30 (GMT) |
Merge remote-tracking branch 'origin/master' into temp-asset-browser-catalogs |
Revision 05d988d by Sybren A. Stüvel (temp-asset-browser-catalogs, temp-asset-browser-catalogs-ui, temp-assetlib-plus-uuid-rename) August 6, 2021, 10:58 (GMT) |
Merge remote-tracking branch 'origin/master' into temp-asset-browser-catalogs |
Revision 26fead1 by Sybren A. Stüvel (temp-asset-browser-catalogs, temp-asset-browser-catalogs-ui, temp-assetlib-plus-uuid-rename) August 3, 2021, 09:46 (GMT) |
Merge remote-tracking branch 'origin/master' into temp-asset-browser-catalogs |
Revision fc5cb45 by Sybren A. Stüvel (temp-asset-browser-catalogs, temp-asset-browser-catalogs-ui, temp-assetlib-plus-uuid-rename) August 3, 2021, 09:33 (GMT) |
Asset Catalogs: add catalog ID to AssetMetaData Add field `char AssetMetaData::catalog_id[MAX_NAME]`, to hold the catalog ID of the asset. This field should be set using the `BKE_asset_metadata_catalog_id_set()` function, which ensures that there are no spaces in the ID and that the field is not too long. For now only used to show in the UI, for development/debugging purposes. |
Revision 57b9f6c by Sybren A. Stüvel (temp-asset-browser-catalogs, temp-asset-browser-catalogs-ui, temp-assetlib-plus-uuid-rename) August 2, 2021, 10:59 (GMT) |
Asset Catalogs: test space in asset catalog path Test for the support of spaces in asset catalog paths. |
|