Cleanup: Move `BKE_idtype.h` to Cpp header `BKE_idtype.hh`
This commit is contained in:
parent
bbaa4e9d26
commit
af5731ce03
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include "BLT_translation.h"
|
||||
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
|
||||
#include "ANIM_bone_collections.hh"
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include "BKE_anim_data.h"
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_fcurve.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_nla.h"
|
||||
#include "BKE_report.h"
|
||||
|
|
|
@ -12,10 +12,7 @@
|
|||
|
||||
#include "BLI_sys_types.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct AssetTypeInfo;
|
||||
struct BPathForeachPathData;
|
||||
struct BlendDataReader;
|
||||
struct BlendLibReader;
|
||||
|
@ -50,65 +47,55 @@ enum {
|
|||
IDTYPE_FLAGS_NO_MEMFILE_UNDO = 1 << 5,
|
||||
};
|
||||
|
||||
typedef struct IDCacheKey {
|
||||
struct IDCacheKey {
|
||||
/* The session UUID of the ID owning the cached data. */
|
||||
unsigned int id_session_uuid;
|
||||
/* Value uniquely identifying the cache within its ID.
|
||||
* Typically the offset of its member in the data-block struct, but can be anything. */
|
||||
size_t identifier;
|
||||
} IDCacheKey;
|
||||
};
|
||||
|
||||
uint BKE_idtype_cache_key_hash(const void *key_v);
|
||||
bool BKE_idtype_cache_key_cmp(const void *key_a_v, const void *key_b_v);
|
||||
|
||||
/* ********** Prototypes for #IDTypeInfo callbacks. ********** */
|
||||
|
||||
typedef void (*IDTypeInitDataFunction)(struct ID *id);
|
||||
typedef void (*IDTypeInitDataFunction)(ID *id);
|
||||
|
||||
/** \param flag: Copying options (see BKE_lib_id.hh's LIB_ID_COPY_... flags for more). */
|
||||
typedef void (*IDTypeCopyDataFunction)(struct Main *bmain,
|
||||
struct ID *id_dst,
|
||||
const struct ID *id_src,
|
||||
int flag);
|
||||
typedef void (*IDTypeCopyDataFunction)(Main *bmain, ID *id_dst, const ID *id_src, int flag);
|
||||
|
||||
typedef void (*IDTypeFreeDataFunction)(struct ID *id);
|
||||
typedef void (*IDTypeFreeDataFunction)(ID *id);
|
||||
|
||||
/** \param flags: See BKE_lib_id.hh's LIB_ID_MAKELOCAL_... flags. */
|
||||
typedef void (*IDTypeMakeLocalFunction)(struct Main *bmain, struct ID *id, int flags);
|
||||
typedef void (*IDTypeMakeLocalFunction)(Main *bmain, ID *id, int flags);
|
||||
|
||||
typedef void (*IDTypeForeachIDFunction)(struct ID *id, struct LibraryForeachIDData *data);
|
||||
typedef void (*IDTypeForeachIDFunction)(ID *id, LibraryForeachIDData *data);
|
||||
|
||||
typedef enum eIDTypeInfoCacheCallbackFlags {
|
||||
/** Indicates to the callback that cache may be stored in the .blend file,
|
||||
* so its pointer should not be cleared at read-time. */
|
||||
IDTYPE_CACHE_CB_FLAGS_PERSISTENT = 1 << 0,
|
||||
} eIDTypeInfoCacheCallbackFlags;
|
||||
typedef void (*IDTypeForeachCacheFunctionCallback)(struct ID *id,
|
||||
const struct IDCacheKey *cache_key,
|
||||
void **cache_p,
|
||||
uint flags,
|
||||
void *user_data);
|
||||
typedef void (*IDTypeForeachCacheFunction)(struct ID *id,
|
||||
typedef void (*IDTypeForeachCacheFunctionCallback)(
|
||||
ID *id, const IDCacheKey *cache_key, void **cache_p, uint flags, void *user_data);
|
||||
typedef void (*IDTypeForeachCacheFunction)(ID *id,
|
||||
IDTypeForeachCacheFunctionCallback function_callback,
|
||||
void *user_data);
|
||||
|
||||
typedef void (*IDTypeForeachPathFunction)(struct ID *id, struct BPathForeachPathData *bpath_data);
|
||||
typedef void (*IDTypeForeachPathFunction)(ID *id, BPathForeachPathData *bpath_data);
|
||||
|
||||
typedef struct ID **(*IDTypeEmbeddedOwnerPointerGetFunction)(struct ID *id);
|
||||
typedef ID **(*IDTypeEmbeddedOwnerPointerGetFunction)(ID *id);
|
||||
|
||||
typedef void (*IDTypeBlendWriteFunction)(struct BlendWriter *writer,
|
||||
struct ID *id,
|
||||
const void *id_address);
|
||||
typedef void (*IDTypeBlendReadDataFunction)(struct BlendDataReader *reader, struct ID *id);
|
||||
typedef void (*IDTypeBlendReadAfterLiblinkFunction)(struct BlendLibReader *reader, struct ID *id);
|
||||
typedef void (*IDTypeBlendWriteFunction)(BlendWriter *writer, ID *id, const void *id_address);
|
||||
typedef void (*IDTypeBlendReadDataFunction)(BlendDataReader *reader, ID *id);
|
||||
typedef void (*IDTypeBlendReadAfterLiblinkFunction)(BlendLibReader *reader, ID *id);
|
||||
|
||||
typedef void (*IDTypeBlendReadUndoPreserve)(struct BlendLibReader *reader,
|
||||
struct ID *id_new,
|
||||
struct ID *id_old);
|
||||
typedef void (*IDTypeBlendReadUndoPreserve)(BlendLibReader *reader, ID *id_new, ID *id_old);
|
||||
|
||||
typedef void (*IDTypeLibOverrideApplyPost)(struct ID *id_dst, struct ID *id_src);
|
||||
typedef void (*IDTypeLibOverrideApplyPost)(ID *id_dst, ID *id_src);
|
||||
|
||||
typedef struct IDTypeInfo {
|
||||
struct IDTypeInfo {
|
||||
/* ********** General IDType data. ********** */
|
||||
|
||||
/**
|
||||
|
@ -145,7 +132,7 @@ typedef struct IDTypeInfo {
|
|||
/**
|
||||
* Information and callbacks for assets, based on the type of asset.
|
||||
*/
|
||||
struct AssetTypeInfo *asset_type_info;
|
||||
AssetTypeInfo *asset_type_info;
|
||||
|
||||
/* ********** ID management callbacks ********** */
|
||||
|
||||
|
@ -229,7 +216,7 @@ typedef struct IDTypeInfo {
|
|||
* \note Currently needed for some update operation on point caches.
|
||||
*/
|
||||
IDTypeLibOverrideApplyPost lib_override_apply_post;
|
||||
} IDTypeInfo;
|
||||
};
|
||||
|
||||
/* ********** Declaration of each IDTypeInfo. ********** */
|
||||
|
||||
|
@ -284,8 +271,8 @@ extern IDTypeInfo IDType_ID_LINK_PLACEHOLDER;
|
|||
void BKE_idtype_init(void);
|
||||
|
||||
/* General helpers. */
|
||||
const struct IDTypeInfo *BKE_idtype_get_info_from_idcode(short id_code);
|
||||
const struct IDTypeInfo *BKE_idtype_get_info_from_id(const struct ID *id);
|
||||
const IDTypeInfo *BKE_idtype_get_info_from_idcode(short id_code);
|
||||
const IDTypeInfo *BKE_idtype_get_info_from_id(const ID *id);
|
||||
|
||||
/**
|
||||
* Convert an \a idcode into a name.
|
||||
|
@ -382,10 +369,6 @@ short BKE_idtype_idcode_iter_step(int *index);
|
|||
/**
|
||||
* Wrapper around #IDTypeInfo foreach_cache that also handles embedded IDs.
|
||||
*/
|
||||
void BKE_idtype_id_foreach_cache(struct ID *id,
|
||||
void BKE_idtype_id_foreach_cache(ID *id,
|
||||
IDTypeForeachCacheFunctionCallback function_callback,
|
||||
void *user_data);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
|
@ -405,7 +405,7 @@ set(SRC
|
|||
BKE_icons.h
|
||||
BKE_idprop.h
|
||||
BKE_idprop.hh
|
||||
BKE_idtype.h
|
||||
BKE_idtype.hh
|
||||
BKE_image.h
|
||||
BKE_image_format.h
|
||||
BKE_image_partial_update.hh
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
#include "BKE_deform.h"
|
||||
#include "BKE_fcurve.h"
|
||||
#include "BKE_idprop.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_query.hh"
|
||||
#include "BKE_main.hh"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#include "BKE_fcurve.h"
|
||||
#include "BKE_fcurve_driver.h"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_query.hh"
|
||||
#include "BKE_main.hh"
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
#include "BKE_constraint.h"
|
||||
#include "BKE_curve.hh"
|
||||
#include "BKE_idprop.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_query.hh"
|
||||
#include "BKE_main.hh"
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
#include "BKE_colorband.hh"
|
||||
#include "BKE_context.hh"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_ipo.h"
|
||||
#include "BKE_keyconfig.h"
|
||||
#include "BKE_layer.h"
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
#include "BLT_translation.h"
|
||||
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_key.h"
|
||||
#include "BKE_layer.h"
|
||||
#include "BKE_lib_id.hh"
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
|
||||
#include "DEG_depsgraph.hh"
|
||||
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_image.h"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_library.hh"
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#include "CLG_log.h"
|
||||
|
||||
#include "BKE_bpath.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_main.hh"
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include "BKE_colortools.hh"
|
||||
#include "BKE_context.hh"
|
||||
#include "BKE_gpencil_legacy.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_query.hh"
|
||||
#include "BKE_lib_remap.hh"
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#include "BKE_anim_data.h"
|
||||
#include "BKE_bpath.h"
|
||||
#include "BKE_cachefile.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_main.hh"
|
||||
#include "BKE_modifier.hh"
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#include "BKE_anim_data.h"
|
||||
#include "BKE_camera.h"
|
||||
#include "BKE_idprop.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_layer.h"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_query.hh"
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#include "BKE_anim_data.h"
|
||||
#include "BKE_collection.h"
|
||||
#include "BKE_idprop.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_layer.h"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_query.hh"
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
#include "BKE_curve.hh"
|
||||
#include "BKE_curveprofile.h"
|
||||
#include "BKE_displist.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_key.h"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_query.hh"
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#include "BKE_geometry_fields.hh"
|
||||
#include "BKE_geometry_set.hh"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_query.hh"
|
||||
#include "BKE_lib_remap.hh"
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
#include "BKE_gpencil_legacy.h"
|
||||
#include "BKE_gpencil_update_cache_legacy.h"
|
||||
#include "BKE_icons.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_image.h"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_query.hh"
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include "BKE_geometry_set.hh"
|
||||
#include "BKE_grease_pencil.h"
|
||||
#include "BKE_grease_pencil.hh"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_query.hh"
|
||||
#include "BKE_material.h"
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#include "BKE_curves.hh"
|
||||
#include "BKE_customdata.hh"
|
||||
#include "BKE_grease_pencil.hh"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_main.hh"
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#include "DNA_ID.h"
|
||||
|
||||
#include "BKE_idprop.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include "BKE_main.hh"
|
||||
#include "BKE_node.h"
|
||||
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
|
||||
// static CLG_LogRef LOG = {"bke.idtype"};
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
#include "BKE_colortools.hh"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_icons.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_image.h"
|
||||
#include "BKE_image_format.h"
|
||||
#include "BKE_lib_id.hh"
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include "BKE_appdir.h"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_image.h"
|
||||
#include "BKE_image_partial_update.hh"
|
||||
#include "BKE_main.hh"
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
#include "BKE_fcurve.h"
|
||||
#include "BKE_fcurve_driver.h"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_ipo.h"
|
||||
#include "BKE_key.h"
|
||||
#include "BKE_lib_id.hh"
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
#include "BKE_customdata.hh"
|
||||
#include "BKE_deform.h"
|
||||
#include "BKE_editmesh.hh"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_key.h"
|
||||
#include "BKE_lattice.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
#include "BKE_curve.hh"
|
||||
#include "BKE_deform.h"
|
||||
#include "BKE_displist.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lattice.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_query.hh"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
#include "testing/testing.h"
|
||||
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lattice.hh"
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#include "MEM_guardedalloc.h"
|
||||
|
||||
#include "BKE_appdir.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_layer.h"
|
||||
|
||||
#include "BLI_string.h"
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
#include "BKE_global.h"
|
||||
#include "BKE_gpencil_legacy.h"
|
||||
#include "BKE_idprop.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_key.h"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_override.hh"
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include "BKE_anim_data.h"
|
||||
#include "BKE_asset.hh"
|
||||
#include "BKE_idprop.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_key.h"
|
||||
#include "BKE_layer.h"
|
||||
#include "BKE_lib_id.hh"
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#include "DNA_ID.h"
|
||||
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_remap.hh"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#include "BLI_listbase.h"
|
||||
#include "BLI_string.h"
|
||||
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_main.hh"
|
||||
#include "BKE_main_namemap.hh"
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#include "BKE_collection.h"
|
||||
#include "BKE_fcurve.h"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_key.h"
|
||||
#include "BKE_layer.h"
|
||||
#include "BKE_lib_id.hh"
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#include "DEG_depsgraph.hh"
|
||||
|
||||
#include "BKE_collection.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_override.hh"
|
||||
#include "BKE_main.hh"
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_idprop.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_query.hh"
|
||||
#include "BKE_main.hh"
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#include "BKE_appdir.h"
|
||||
#include "BKE_context.hh"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_remap.hh"
|
||||
#include "BKE_main.hh"
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include "BLT_translation.h"
|
||||
|
||||
#include "BKE_bpath.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_query.hh"
|
||||
#include "BKE_library.hh"
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_icons.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_query.hh"
|
||||
#include "BKE_light.h"
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_query.hh"
|
||||
#include "BKE_lightprobe.h"
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#include "BKE_colortools.hh"
|
||||
#include "BKE_context.hh"
|
||||
#include "BKE_freestyle.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_query.hh"
|
||||
#include "BKE_linestyle.h"
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
#include "BKE_bpath.h"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_query.hh"
|
||||
#include "BKE_lib_remap.hh"
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
#include "DNA_ID.h"
|
||||
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_main.hh"
|
||||
#include "BKE_main_idmap.hh" /* own include */
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* \ingroup bke
|
||||
*/
|
||||
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_main.hh"
|
||||
#include "BKE_main_namemap.hh"
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#include "BLI_string.h"
|
||||
|
||||
#include "BKE_collection.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_library.hh"
|
||||
#include "BKE_main.hh"
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_curve.hh"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_image.h"
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
#include "BKE_gpencil_legacy.h"
|
||||
#include "BKE_grease_pencil.hh"
|
||||
#include "BKE_icons.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_image.h"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_query.hh"
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
#include "BKE_curve.hh"
|
||||
#include "BKE_displist.h"
|
||||
#include "BKE_geometry_set.hh"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lattice.hh"
|
||||
#include "BKE_layer.h"
|
||||
#include "BKE_lib_id.hh"
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
#include "BKE_editmesh.hh"
|
||||
#include "BKE_editmesh_cache.hh"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_key.h"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_query.hh"
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
#include "BKE_fluid.h"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_gpencil_modifier_legacy.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_key.h"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_query.hh"
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
#include "BKE_bpath.h"
|
||||
#include "BKE_colortools.hh"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_image.h" /* openanim */
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_query.hh"
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
#include "BKE_global.h"
|
||||
#include "BKE_idprop.h"
|
||||
#include "BKE_idprop.hh"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_image_format.h"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_query.hh"
|
||||
|
|
|
@ -95,7 +95,7 @@
|
|||
#include "BKE_gpencil_modifier_legacy.h"
|
||||
#include "BKE_grease_pencil.hh"
|
||||
#include "BKE_idprop.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_image.h"
|
||||
#include "BKE_key.h"
|
||||
#include "BKE_lattice.hh"
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
#include "BKE_crazyspace.hh"
|
||||
#include "BKE_deform.h"
|
||||
#include "BKE_gpencil_legacy.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_image.h"
|
||||
#include "BKE_key.h"
|
||||
#include "BKE_layer.h"
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
#include "BKE_deform.h"
|
||||
#include "BKE_displist.h"
|
||||
#include "BKE_effect.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_key.h"
|
||||
#include "BKE_lattice.hh"
|
||||
#include "BKE_layer.h"
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#include "BKE_customdata.hh"
|
||||
#include "BKE_geometry_set.hh"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_query.hh"
|
||||
#include "BKE_lib_remap.hh"
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
#include "BKE_freestyle.h"
|
||||
#include "BKE_gpencil_legacy.h"
|
||||
#include "BKE_idprop.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_image.h"
|
||||
#include "BKE_image_format.h"
|
||||
#include "BKE_layer.h"
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
|
||||
#include "BKE_gpencil_legacy.h"
|
||||
#include "BKE_idprop.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_query.hh"
|
||||
#include "BKE_node.h"
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
|
||||
#include "BKE_bpath.h"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_query.hh"
|
||||
#include "BKE_main.hh"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#include "BLT_translation.h"
|
||||
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_query.hh"
|
||||
#include "BKE_main.hh"
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#include "DNA_userdef_types.h"
|
||||
|
||||
#include "BKE_bpath.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_main.hh"
|
||||
#include "BKE_node.h"
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
#include "BKE_colorband.hh"
|
||||
#include "BKE_colortools.hh"
|
||||
#include "BKE_icons.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_image.h"
|
||||
#include "BKE_key.h"
|
||||
#include "BKE_lib_id.hh"
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
#include "BKE_bpath.h"
|
||||
#include "BKE_curve.hh"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_main.hh"
|
||||
#include "BKE_object_types.hh"
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#include "BKE_bpath.h"
|
||||
#include "BKE_geometry_set.hh"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_query.hh"
|
||||
#include "BKE_lib_remap.hh"
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
# include "DNA_volume_types.h"
|
||||
|
||||
# include "BKE_idtype.h"
|
||||
# include "BKE_idtype.hh"
|
||||
# include "BKE_lib_id.hh"
|
||||
# include "BKE_main.hh"
|
||||
# include "BKE_volume.hh"
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include "BKE_asset.hh"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_idprop.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_query.hh"
|
||||
#include "BKE_main.hh"
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_icons.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_query.hh"
|
||||
#include "BKE_main.hh"
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include "DNA_sdna_types.h"
|
||||
|
||||
#include "BKE_asset.hh"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_main.hh"
|
||||
#include "BKE_preview_image.hh"
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
#include "BKE_collection.h"
|
||||
#include "BKE_global.h" /* for G */
|
||||
#include "BKE_idprop.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_layer.h"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_override.hh"
|
||||
|
|
|
@ -103,7 +103,7 @@
|
|||
#include "BKE_bpath.h"
|
||||
#include "BKE_global.h" /* For #Global `G`. */
|
||||
#include "BKE_idprop.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_layer.h"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_override.hh"
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#include "BKE_callbacks.h"
|
||||
#include "BKE_context.hh"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_image.h"
|
||||
#include "BKE_layer.h"
|
||||
#include "BKE_main.hh"
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
#include "BKE_gpencil_modifier_legacy.h"
|
||||
#include "BKE_grease_pencil.hh"
|
||||
#include "BKE_idprop.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_image.h"
|
||||
#include "BKE_key.h"
|
||||
#include "BKE_lattice.hh"
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#include <ios>
|
||||
#include <iostream>
|
||||
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
|
||||
#include "DNA_ID.h"
|
||||
#include "DNA_action_types.h"
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_scene.h"
|
||||
|
||||
#include "DEG_depsgraph.hh"
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
#include "BKE_action.h" /* XXX: BKE_pose_channel_find_name */
|
||||
#include "BKE_customdata.hh"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_main.hh"
|
||||
|
||||
#include "DNA_object_types.h"
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_override.hh"
|
||||
#include "BKE_node.hh"
|
||||
#include "BKE_scene.h"
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#include "BKE_context.hh"
|
||||
#include "BKE_fcurve.h"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_nla.h"
|
||||
#include "BKE_report.h"
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#include "AS_asset_representation.hh"
|
||||
|
||||
#include "BKE_asset.hh"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
|
||||
#include "BLI_listbase.h"
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
#include "BKE_asset.hh"
|
||||
#include "BKE_context.hh"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_main.hh"
|
||||
#include "BKE_preview_image.hh"
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#include "BLT_translation.h"
|
||||
|
||||
#include "BKE_context.hh"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_report.h"
|
||||
#include "BKE_screen.hh"
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#include "BKE_context.hh"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_idprop.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_layer.h"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_override.hh"
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
#include "BKE_global.h"
|
||||
#include "BKE_gpencil_modifier_legacy.h"
|
||||
#include "BKE_idprop.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_layer.h"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_override.hh"
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
#include "BKE_fcurve.h"
|
||||
#include "BKE_gpencil_legacy.h"
|
||||
#include "BKE_idprop.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lattice.hh"
|
||||
#include "BKE_layer.h"
|
||||
#include "BKE_lib_id.hh"
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
#include "BKE_editmesh.hh"
|
||||
#include "BKE_gpencil_geom_legacy.h"
|
||||
#include "BKE_gpencil_legacy.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lattice.hh"
|
||||
#include "BKE_layer.h"
|
||||
#include "BKE_lib_id.hh"
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
#include "BKE_context.hh"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_icons.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_main.hh"
|
||||
#include "BKE_main_idmap.hh"
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
|
||||
#include "BKE_appdir.h"
|
||||
#include "BKE_context.hh"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_main.hh"
|
||||
#include "BKE_preferences.h"
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
#include "BKE_context.hh"
|
||||
#include "BKE_curves.hh"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_main.hh"
|
||||
#include "BKE_node.hh"
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
#include "BKE_collection.h"
|
||||
#include "BKE_context.hh"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_layer.h"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_main.hh"
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#include "BKE_deform.h"
|
||||
#include "BKE_gpencil_legacy.h"
|
||||
#include "BKE_grease_pencil.hh"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_layer.h"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_override.hh"
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#include "BKE_armature.hh"
|
||||
#include "BKE_blender_copybuffer.h"
|
||||
#include "BKE_context.hh"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_layer.h"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_override.hh"
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
#include "BKE_fcurve.h"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_grease_pencil.hh"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_layer.h"
|
||||
#include "BKE_lib_id.hh"
|
||||
#include "BKE_lib_override.hh"
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
#include "BLI_listbase.h"
|
||||
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
|
||||
#include "DNA_anim_types.h"
|
||||
#include "DNA_object_types.h"
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#include "BLO_blend_defs.hh"
|
||||
#include "BLO_readfile.h"
|
||||
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_main.hh"
|
||||
#include "BKE_preview_image.hh"
|
||||
|
||||
|
|
|
@ -218,7 +218,7 @@ const IDFilterEnumPropertyItem rna_enum_id_type_filter_items[] = {
|
|||
# include "BKE_anim_data.h"
|
||||
# include "BKE_global.h" /* XXX, remove me */
|
||||
# include "BKE_idprop.h"
|
||||
# include "BKE_idtype.h"
|
||||
# include "BKE_idtype.hh"
|
||||
# include "BKE_lib_override.hh"
|
||||
# include "BKE_lib_query.hh"
|
||||
# include "BKE_lib_remap.hh"
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#include "BKE_fcurve.h"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_idprop.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_override.hh"
|
||||
#include "BKE_main.hh"
|
||||
#include "BKE_node.hh"
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
#include "BKE_armature.hh"
|
||||
#include "BKE_idprop.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_override.hh"
|
||||
#include "BKE_main.hh"
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
# include "BKE_displist.h"
|
||||
# include "BKE_gpencil_legacy.h"
|
||||
# include "BKE_icons.h"
|
||||
# include "BKE_idtype.h"
|
||||
# include "BKE_idtype.hh"
|
||||
# include "BKE_image.h"
|
||||
# include "BKE_lattice.hh"
|
||||
# include "BKE_lib_remap.hh"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BKE_idprop.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_lib_id.hh"
|
||||
|
||||
#include "DNA_ID.h" /* For ID properties. */
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
#include "BKE_armature.hh"
|
||||
#include "BKE_editmesh.hh"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
#include "BKE_paint.hh"
|
||||
#include "BKE_volume.hh"
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include "BKE_animsys.h"
|
||||
#include "BKE_fcurve_driver.h"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_idtype.hh"
|
||||
|
||||
#include "RNA_access.hh"
|
||||
#include "RNA_prototypes.h"
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue