|
Blender V4.3
|
#include <AS_asset_catalog.hh>
Inherited by blender::asset_system::tests::TestableAssetCatalogService.
Classes | |
| struct | read_only_tag |
Static Public Attributes | |
| static const CatalogFilePath | DEFAULT_CATALOG_FILENAME = "blender_assets.cats.txt" |
Static Protected Member Functions | |
| static CatalogFilePath | find_suitable_cdf_path_for_writing (const CatalogFilePath &blend_file_path) |
Definition at line 41 of file AS_asset_catalog.hh.
|
explicit |
Definition at line 36 of file asset_system/intern/asset_catalog.cc.
|
explicit |
Definition at line 42 of file asset_system/intern/asset_catalog.cc.
| void blender::asset_system::AssetCatalogService::add_from_existing | ( | const AssetCatalogService & | other_service, |
| FunctionRef< void(const AssetCatalog &existing, const AssetCatalog &to_be_ignored)> | on_duplicate_items ) |
Duplicate the catalogs from other_service into this one. Does not rebuild the tree, this needs to be done by the caller (call #rebuild_tree()!).
Definition at line 332 of file asset_system/intern/asset_catalog.cc.
| const AssetCatalogTree & blender::asset_system::AssetCatalogService::catalog_tree | ( | ) |
May be called from multiple threads.
Definition at line 580 of file asset_system/intern/asset_catalog.cc.
References create_missing_catalogs(), lock, and read_into_tree().
Referenced by blender::ed::asset_browser::AssetCatalogTreeView::AssetCatalogTreeView(), blender::ed::asset::build_filtered_all_catalog_tree(), blender::ed::asset::build_filtered_catalog_tree(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), and blender::ed::sculpt_paint::visit_library_catalogs_catalog_for_search().
|
protected |
Construct an in-memory catalog definition file (CDF) from the currently known catalogs. This object can then be processed further before saving to disk.
Definition at line 550 of file asset_system/intern/asset_catalog.cc.
Referenced by write_to_disk_ex().
| AssetCatalog * blender::asset_system::AssetCatalogService::create_catalog | ( | const AssetCatalogPath & | catalog_path | ) |
Create a catalog with some sensible auto-generated catalog ID. The catalog will be saved to the default catalog file.
Definition at line 265 of file asset_system/intern/asset_catalog.cc.
References BLI_assert_msg, blender::asset_system::AssetCatalog::from_path(), blender::asset_system::AssetLibraryService::get(), invalidate_catalog_tree(), and blender::asset_system::AssetLibraryService::tag_all_library_catalogs_dirty().
Referenced by blender::ed::sculpt_paint::asset_library_ensure_catalog(), blender::ed::asset::catalog_add(), create_missing_catalogs(), blender::asset_system::tests::AssetCatalogTest::save_from_memory_into_existing_asset_lib(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), and blender::asset_system::tests::TEST_F().
| AssetCatalogFilter blender::asset_system::AssetCatalogService::create_catalog_filter | ( | CatalogID | active_catalog_id | ) | const |
Create a filter object that can be used to determine whether an asset belongs to the given catalog, or any of the catalogs in the sub-tree rooted at the given catalog.
Definition at line 155 of file asset_system/intern/asset_catalog.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), find_catalog(), blender::asset_system::AssetCatalogPath::is_contained_in(), and blender::asset_system::AssetCatalog::path.
Referenced by blender::ed::asset::shelf::catalog_filter_from_shelf_settings(), blender::ed::asset_browser::file_ensure_updated_catalog_filter_data(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), and blender::asset_system::tests::TEST_F().
|
protected |
For every catalog, ensure that its parent path also has a known catalog.
Definition at line 593 of file asset_system/intern/asset_catalog.cc.
References create_catalog(), blender::asset_system::AssetCatalog::flags, blender::asset_system::AssetCatalog::Flags::has_unsaved_changes, and blender::asset_system::AssetCatalogPath::parent().
Referenced by catalog_tree(), blender::asset_system::tests::TestableAssetCatalogService::create_missing_catalogs(), load_from_disk(), redo(), reload_catalogs(), undo(), and update_catalog_path().
|
protected |
Hard delete a catalog. This simply removes the catalog from existence. The deletion will not be remembered, and reloading the CDF will bring it back.
Definition at line 200 of file asset_system/intern/asset_catalog.cc.
Referenced by purge_catalogs_not_listed().
|
protected |
Delete a catalog, without deleting any of its children and without rebuilding the catalog tree. The deletion in "Soft", in the sense that the catalog pointer is moved from catalogs_ to deleted_catalogs_; the AssetCatalog instance itself is kept in memory. As a result, it will be removed from a CDF when saved to disk.
This is a lower-level function than prune_catalogs_by_path.
Definition at line 179 of file asset_system/intern/asset_catalog.cc.
References blender::asset_system::AssetCatalog::flags, and blender::asset_system::AssetCatalog::Flags::is_deleted.
Referenced by blender::asset_system::tests::TestableAssetCatalogService::delete_catalog_by_id_soft(), and prune_catalogs_by_path().
| AssetCatalog * blender::asset_system::AssetCatalogService::find_catalog | ( | CatalogID | catalog_id | ) | const |
Return catalog with the given ID. Return nullptr if not found.
Definition at line 118 of file asset_system/intern/asset_catalog.cc.
Referenced by blender::ed::sculpt_paint::brush_asset_edit_metadata_invoke(), blender::ed::sculpt_paint::brush_asset_save_as_invoke(), blender::ed::asset::build_filtered_all_catalog_tree(), blender::ed::asset::build_filtered_catalog_tree(), blender::ed::asset::catalog_move(), blender::ed::asset::catalog_rename(), compare_asset_catalog(), create_catalog_filter(), blender::ed::asset_browser::AssetCatalogDropTarget::get_drag_catalog(), prune_catalogs_by_id(), blender::asset_system::AssetLibrary::refresh_catalog_simplename(), blender::asset_system::tests::AssetCatalogTest::save_from_memory_into_existing_asset_lib(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), and update_catalog_path().
| AssetCatalog * blender::asset_system::AssetCatalogService::find_catalog_by_path | ( | const AssetCatalogPath & | path | ) | const |
Return first catalog with the given path. Return nullptr if not found. This is not an efficient call as it's just a linear search over the catalogs.
If there are multiple catalogs with the same path, return the first-loaded one. If there is none marked as "first loaded", return the one with the lowest UUID.
Definition at line 128 of file asset_system/intern/asset_catalog.cc.
Referenced by blender::ed::sculpt_paint::asset_library_ensure_catalog(), blender::ed::sculpt_paint::asset_library_ensure_catalogs_in_path(), blender::ed::asset::shelf::catalog_filter_from_shelf_settings(), blender::ed::asset::catalog_name_exists_fn(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), and blender::ed::sculpt_paint::visit_library_catalogs_catalog_for_search().
|
staticprotected |
Find a suitable path to write a CDF to.
This depends on the location of the blend file, and on whether a CDF already exists next to it or whether the blend file is saved inside an asset library.
Definition at line 523 of file asset_system/intern/asset_catalog.cc.
References AS_asset_library_find_suitable_root_path_from_path(), blender::asset_system::asset_definition_default_file_path_from_dir(), BLI_assert_msg, BLI_path_join, BLI_path_split_dir_part(), DEFAULT_CATALOG_FILENAME, and PATH_MAX.
Referenced by write_to_disk_ex().
|
protected |
Definition at line 113 of file asset_system/intern/asset_catalog.cc.
Referenced by blender::asset_system::tests::TestableAssetCatalogService::get_catalog_definition_file().
|
protected |
Definition at line 104 of file asset_system/intern/asset_catalog.cc.
Referenced by blender::asset_system::tests::TestableAssetCatalogService::count_catalogs_with_path().
|
protected |
Definition at line 108 of file asset_system/intern/asset_catalog.cc.
Referenced by blender::asset_system::tests::TestableAssetCatalogService::get_deleted_catalogs().
| bool blender::asset_system::AssetCatalogService::has_unsaved_changes | ( | ) | const |
Definition at line 79 of file asset_system/intern/asset_catalog.cc.
References BLI_assert.
Referenced by blender::asset_system::AssetLibraryService::has_any_unsaved_catalogs(), and is_catalog_known_with_unsaved_changes().
|
protected |
Ensure a catalog_tree() will update the tree. Must be called whenever the contained user visible catalogs change. May be called from multiple threads.
Definition at line 574 of file asset_system/intern/asset_catalog.cc.
References lock.
Referenced by create_catalog(), load_from_disk(), prune_catalogs_by_path(), redo(), reload_catalogs(), undo(), update_catalog_path(), and write_to_disk().
| bool blender::asset_system::AssetCatalogService::is_catalog_known | ( | CatalogID | catalog_id | ) | const |
Return true only if this catalog is known. This treats deleted catalogs as "unknown".
Definition at line 149 of file asset_system/intern/asset_catalog.cc.
References BLI_assert.
|
protected |
Definition at line 450 of file asset_system/intern/asset_catalog.cc.
References has_unsaved_changes().
Referenced by purge_catalogs_not_listed(), and reload_catalogs().
| bool blender::asset_system::AssetCatalogService::is_empty | ( | ) | const |
Return true only if there are no catalogs known.
Definition at line 98 of file asset_system/intern/asset_catalog.cc.
References BLI_assert.
Referenced by blender::asset_system::tests::TEST_F().
| bool blender::asset_system::AssetCatalogService::is_read_only | ( | ) | const |
Check if this is a read-only service meaning the user shouldn't be able to do edits. This is not enforced by internal catalog code, the catalog service user is responsible for it. For example the UI should disallow edits.
Definition at line 85 of file asset_system/intern/asset_catalog.cc.
Referenced by blender::ed::asset::catalog_add(), blender::ed::asset::catalog_move(), blender::ed::asset::catalog_remove(), blender::ed::asset::catalog_rename(), blender::ed::asset::catalogs_read_only(), and blender::ed::asset::catalogs_save_from_main_path().
| bool blender::asset_system::AssetCatalogService::is_redo_possbile | ( | ) | const |
Definition at line 638 of file asset_system/intern/asset_catalog.cc.
Referenced by blender::ed::asset::asset_catalog_redo_poll(), redo(), blender::asset_system::tests::TEST_F(), and blender::asset_system::tests::TEST_F().
| bool blender::asset_system::AssetCatalogService::is_undo_possbile | ( | ) | const |
Definition at line 633 of file asset_system/intern/asset_catalog.cc.
Referenced by blender::ed::asset::asset_catalog_undo_poll(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), and undo().
|
protected |
Definition at line 340 of file asset_system/intern/asset_catalog.cc.
References blender::asset_system::asset_definition_default_file_path_from_dir(), BLI_exists(), CLOG_INFO, load_single_file(), and LOG.
Referenced by load_from_disk().
| void blender::asset_system::AssetCatalogService::load_from_disk | ( | ) |
Load asset catalog definitions from the files found in the asset library.
Definition at line 302 of file asset_system/intern/asset_catalog.cc.
References load_from_disk().
Referenced by blender::asset_system::AssetLibrary::load_catalogs(), load_from_disk(), blender::asset_system::tests::AssetCatalogTest::save_from_memory_into_existing_asset_lib(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), and blender::asset_system::tests::TEST_F().
| void blender::asset_system::AssetCatalogService::load_from_disk | ( | const CatalogFilePath & | file_or_directory_path | ) |
Load asset catalog definitions from the given file or directory.
Definition at line 307 of file asset_system/intern/asset_catalog.cc.
References BLI_stat(), CLOG_WARN, create_missing_catalogs(), invalidate_catalog_tree(), load_directory_recursive(), load_single_file(), LOG, S_ISDIR, and S_ISREG.
|
protected |
Definition at line 355 of file asset_system/intern/asset_catalog.cc.
References BLI_assert_msg, and parse_catalog_file().
Referenced by load_directory_recursive(), and load_from_disk().
|
protected |
Definition at line 367 of file asset_system/intern/asset_catalog.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add().
Referenced by load_single_file().
| void blender::asset_system::AssetCatalogService::prepare_to_merge_on_write | ( | ) |
Ensure that the next call to #on_blend_save_post() will choose a new location for the CDF suitable for the location of the blend file (regardless of where the current catalogs come from), and that catalogs will be merged with already-existing ones in that location.
Use this for a "Save as..." that has to write the catalogs to the new blend file location, instead of updating the previously read CDF.
Definition at line 505 of file asset_system/intern/asset_catalog.cc.
References tag_all_catalogs_as_unsaved_changes().
Referenced by blender::ed::asset::asset_bundle_install_exec().
| void blender::asset_system::AssetCatalogService::prune_catalogs_by_id | ( | CatalogID | catalog_id | ) |
Delete all catalogs with the same path as the identified catalog, and their children. This call is the same as calling prune_catalogs_by_path(find_catalog(catalog_id)->path).
Definition at line 229 of file asset_system/intern/asset_catalog.cc.
References BLI_assert_msg, find_catalog(), blender::asset_system::AssetCatalog::path, and prune_catalogs_by_path().
Referenced by blender::ed::asset::catalog_remove(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), and blender::asset_system::tests::TEST_F().
| void blender::asset_system::AssetCatalogService::prune_catalogs_by_path | ( | const AssetCatalogPath & | path | ) |
Delete all catalogs with the given path, and their children.
Definition at line 209 of file asset_system/intern/asset_catalog.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::asset_system::AssetCatalog::catalog_id, delete_catalog_by_id_soft(), blender::asset_system::AssetLibraryService::get(), invalidate_catalog_tree(), blender::asset_system::AssetCatalogPath::is_contained_in(), blender::asset_system::AssetCatalog::path, and blender::asset_system::AssetLibraryService::tag_all_library_catalogs_dirty().
Referenced by prune_catalogs_by_id(), and blender::asset_system::tests::TEST_F().
|
protected |
Delete catalogs, only keeping them when they are either listed in catalogs_to_keep or have unsaved changes.
Definition at line 431 of file asset_system/intern/asset_catalog.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), delete_catalog_by_id_hard(), and is_catalog_known_with_unsaved_changes().
Referenced by reload_catalogs().
|
protected |
Definition at line 562 of file asset_system/intern/asset_catalog.cc.
References tree.
Referenced by catalog_tree().
| void blender::asset_system::AssetCatalogService::redo | ( | ) |
Restore the last-saved redo snapshot, pushing the current state onto the undo stack. The caller is responsible for first checking that undoing is possible.
Definition at line 654 of file asset_system/intern/asset_catalog.cc.
References BLI_assert, BLI_assert_msg, create_missing_catalogs(), blender::asset_system::AssetLibraryService::get(), invalidate_catalog_tree(), is_redo_possbile(), and blender::asset_system::AssetLibraryService::tag_all_library_catalogs_dirty().
Referenced by blender::ed::asset::asset_catalog_redo_exec(), and blender::asset_system::tests::TEST_F().
| void blender::asset_system::AssetCatalogService::reload_catalogs | ( | ) |
Merge on-disk changes into the in-memory asset catalogs. This should be called before writing the asset catalogs to disk.
Definition at line 397 of file asset_system/intern/asset_catalog.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), BLI_is_file(), create_missing_catalogs(), blender::asset_system::AssetCatalogDefinitionFile::file_path, invalidate_catalog_tree(), is_catalog_known_with_unsaved_changes(), blender::asset_system::AssetCatalogDefinitionFile::parse_catalog_file(), and purge_catalogs_not_listed().
Referenced by blender::asset_system::OnDiskAssetLibrary::refresh_catalogs(), blender::asset_system::tests::TEST_F(), and write_to_disk_ex().
|
protected |
For every catalog, mark it as "dirty".
Definition at line 90 of file asset_system/intern/asset_catalog.cc.
Referenced by prepare_to_merge_on_write().
| void blender::asset_system::AssetCatalogService::tag_has_unsaved_changes | ( | AssetCatalog * | edited_catalog | ) |
Set tag indicating that some catalog modifications are unsaved, which could get lost on exit. This tag is not set by internal catalog code, the catalog service user is responsible for it. It is cleared by write_to_disk().
This "dirty" state is tracked per catalog, so that it's possible to gracefully load changes from disk. Any catalog with unsaved changes will not be overwritten by on-disk changes.
Definition at line 47 of file asset_system/intern/asset_catalog.cc.
References BLI_assert, blender::asset_system::AssetCatalog::flags, and blender::asset_system::AssetCatalog::Flags::has_unsaved_changes.
Referenced by blender::ed::asset::catalog_add(), blender::ed::asset::catalog_move(), blender::ed::asset::catalog_remove(), blender::ed::asset::catalog_rename(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), and update_catalog_path().
| void blender::asset_system::AssetCatalogService::undo | ( | ) |
Restore the last-saved undo snapshot, pushing the current state onto the redo stack. The caller is responsible for first checking that undoing is possible.
Definition at line 643 of file asset_system/intern/asset_catalog.cc.
References BLI_assert_msg, create_missing_catalogs(), blender::asset_system::AssetLibraryService::get(), invalidate_catalog_tree(), is_undo_possbile(), and blender::asset_system::AssetLibraryService::tag_all_library_catalogs_dirty().
Referenced by blender::ed::asset::asset_bundle_install_exec(), blender::ed::asset::asset_catalog_undo_exec(), blender::asset_system::tests::TEST_F(), and blender::asset_system::tests::TEST_F().
| void blender::asset_system::AssetCatalogService::undo_push | ( | ) |
Store the current catalogs in the undo stack. This snapshots everything in the #AssetCatalogCollection.
Definition at line 666 of file asset_system/intern/asset_catalog.cc.
References BLI_assert.
Referenced by blender::ed::asset::asset_bundle_install_exec(), blender::ed::asset::asset_catalog_undo_push_exec(), blender::ed::asset::catalog_add(), blender::ed::asset::catalog_move(), blender::ed::asset::catalog_remove(), blender::ed::asset::catalog_rename(), blender::ed::asset::catalogs_save_from_main_path(), blender::asset_system::tests::TEST_F(), and blender::asset_system::tests::TEST_F().
|
protected |
Definition at line 58 of file asset_system/intern/asset_catalog.cc.
References BLI_assert.
Referenced by write_to_disk().
| void blender::asset_system::AssetCatalogService::update_catalog_path | ( | CatalogID | catalog_id, |
| const AssetCatalogPath & | new_catalog_path ) |
Update the catalog path, also updating the catalog path of all sub-catalogs.
Definition at line 239 of file asset_system/intern/asset_catalog.cc.
References create_missing_catalogs(), find_catalog(), blender::asset_system::AssetLibraryService::get(), invalidate_catalog_tree(), blender::asset_system::AssetCatalog::path, blender::asset_system::AssetCatalogPath::rebase(), blender::asset_system::AssetCatalog::simple_name_refresh(), blender::asset_system::AssetLibraryService::tag_all_library_catalogs_dirty(), and tag_has_unsaved_changes().
Referenced by blender::ed::asset::catalog_move(), blender::ed::asset::catalog_rename(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), and blender::asset_system::tests::TEST_F().
| bool blender::asset_system::AssetCatalogService::write_to_disk | ( | const CatalogFilePath & | blend_file_path | ) |
Write the catalog definitions to disk.
The location where the catalogs are saved is variable, and depends on the location of the blend file. The first matching rule wins:
Return true on success, which either means there were no in-memory categories to save, or the save was successful.
Definition at line 468 of file asset_system/intern/asset_catalog.cc.
References BLI_assert, invalidate_catalog_tree(), untag_has_unsaved_changes(), and write_to_disk_ex().
Referenced by blender::ed::sculpt_paint::brush_asset_edit_metadata_exec(), blender::ed::sculpt_paint::brush_asset_save_as_exec(), blender::ed::asset::catalogs_save_from_main_path(), blender::asset_system::AssetLibrary::on_blend_save_post(), blender::asset_system::tests::AssetCatalogTest::save_from_memory_into_existing_asset_lib(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), and blender::asset_system::tests::TEST_F().
|
protected |
Implementation of write_to_disk() that doesn't clear the "has unsaved changes" tag.
Definition at line 481 of file asset_system/intern/asset_catalog.cc.
References construct_cdf_in_memory(), find_suitable_cdf_path_for_writing(), and reload_catalogs().
Referenced by write_to_disk().
|
static |
Definition at line 57 of file AS_asset_catalog.hh.
Referenced by blender::asset_system::asset_definition_default_file_path_from_dir(), find_suitable_cdf_path_for_writing(), blender::asset_system::tests::AssetCatalogTest::save_from_memory_into_existing_asset_lib(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), and blender::asset_system::tests::TEST_F().