Cleanup: Remove asset header include from BKE_context.hh

Trying to reduce the number of indirect includes.
This commit is contained in:
Hans Goudey
2024-11-11 12:23:38 -05:00
parent 9323a646b3
commit 70483bef74
2 changed files with 6 additions and 3 deletions

View File

@@ -10,9 +10,6 @@
#include <variant>
/* XXX temporary, until AssetHandle is designed properly and queries can return a pointer to it. */
#include "DNA_asset_types.h"
#include "BLI_string_ref.hh"
#include "BLI_utildefines.h"
#include "BLI_vector.hh"
@@ -22,6 +19,8 @@
#include "RNA_types.hh"
struct ARegion;
struct AssetLibraryReference;
struct AssetWeakReference;
struct Base;
struct bGPdata;
struct bGPDframe;

View File

@@ -25,6 +25,10 @@
struct Main;
namespace blender::asset_system {
class AssetLibrary;
}
namespace blender::ed::asset {
void catalogs_save_from_main_path(asset_system::AssetLibrary *library, const Main *bmain);