Cleanup: Remove asset header include from BKE_context.hh
Trying to reduce the number of indirect includes.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user