Cleanup: Animation, move AnimData API to `anim_data.c`/`BKE_anim_data.h`
The `BKE_animsys.h` and `anim_sys.c` files already had a an "AnimData API" section. The code in that section has now been split off, and placed into `BKE_anim_data.h` and `anim_data.c`. All files that used to include `BKE_animsys.h` have been adjusted to only include the animation headers they need (sometimes none). No functional changes.
This commit is contained in:
parent
33ab613655
commit
3208454aa8
|
@ -0,0 +1,95 @@
|
|||
/*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation; either version 2
|
||||
* of the License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*
|
||||
* The Original Code is Copyright (C) 2009 Blender Foundation, Joshua Leung
|
||||
* All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef __BKE_ANIM_DATA_H__
|
||||
#define __BKE_ANIM_DATA_H__
|
||||
|
||||
/** \file
|
||||
* \ingroup bke
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "BLI_sys_types.h" /* for bool */
|
||||
|
||||
struct AnimData;
|
||||
struct ID;
|
||||
struct Main;
|
||||
struct ReportList;
|
||||
struct bAction;
|
||||
|
||||
/* ************************************* */
|
||||
/* AnimData API */
|
||||
|
||||
/* Check if the given ID-block can have AnimData */
|
||||
bool id_type_can_have_animdata(const short id_type);
|
||||
bool id_can_have_animdata(const struct ID *id);
|
||||
|
||||
/* Get AnimData from the given ID-block */
|
||||
struct AnimData *BKE_animdata_from_id(struct ID *id);
|
||||
|
||||
/* Add AnimData to the given ID-block */
|
||||
struct AnimData *BKE_animdata_add_id(struct ID *id);
|
||||
|
||||
/* Set active action used by AnimData from the given ID-block */
|
||||
bool BKE_animdata_set_action(struct ReportList *reports, struct ID *id, struct bAction *act);
|
||||
|
||||
/* Free AnimData */
|
||||
void BKE_animdata_free(struct ID *id, const bool do_id_user);
|
||||
|
||||
/* Return true if the ID-block has non-empty AnimData. */
|
||||
bool BKE_animdata_id_is_animated(const struct ID *id);
|
||||
|
||||
/* Copy AnimData */
|
||||
struct AnimData *BKE_animdata_copy(struct Main *bmain, struct AnimData *adt, const int flag);
|
||||
|
||||
/* Copy AnimData */
|
||||
bool BKE_animdata_copy_id(struct Main *bmain,
|
||||
struct ID *id_to,
|
||||
struct ID *id_from,
|
||||
const int flag);
|
||||
|
||||
/* Copy AnimData Actions */
|
||||
void BKE_animdata_copy_id_action(struct Main *bmain, struct ID *id, const bool set_newid);
|
||||
|
||||
/* Merge copies of data from source AnimData block */
|
||||
typedef enum eAnimData_MergeCopy_Modes {
|
||||
/* Keep destination action */
|
||||
ADT_MERGECOPY_KEEP_DST = 0,
|
||||
|
||||
/* Use src action (make a new copy) */
|
||||
ADT_MERGECOPY_SRC_COPY = 1,
|
||||
|
||||
/* Use src action (but just reference the existing version) */
|
||||
ADT_MERGECOPY_SRC_REF = 2,
|
||||
} eAnimData_MergeCopy_Modes;
|
||||
|
||||
void BKE_animdata_merge_copy(struct Main *bmain,
|
||||
struct ID *dst_id,
|
||||
struct ID *src_id,
|
||||
eAnimData_MergeCopy_Modes action_mode,
|
||||
bool fix_drivers);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __BKE_ANIM_DATA_H__*/
|
|
@ -48,58 +48,6 @@ struct bAction;
|
|||
struct bActionGroup;
|
||||
struct bContext;
|
||||
|
||||
/* ************************************* */
|
||||
/* AnimData API */
|
||||
|
||||
/* Check if the given ID-block can have AnimData */
|
||||
bool id_type_can_have_animdata(const short id_type);
|
||||
bool id_can_have_animdata(const struct ID *id);
|
||||
|
||||
/* Get AnimData from the given ID-block */
|
||||
struct AnimData *BKE_animdata_from_id(struct ID *id);
|
||||
|
||||
/* Add AnimData to the given ID-block */
|
||||
struct AnimData *BKE_animdata_add_id(struct ID *id);
|
||||
|
||||
/* Set active action used by AnimData from the given ID-block */
|
||||
bool BKE_animdata_set_action(struct ReportList *reports, struct ID *id, struct bAction *act);
|
||||
|
||||
/* Free AnimData */
|
||||
void BKE_animdata_free(struct ID *id, const bool do_id_user);
|
||||
|
||||
/* Return true if the ID-block has non-empty AnimData. */
|
||||
bool BKE_animdata_id_is_animated(const struct ID *id);
|
||||
|
||||
/* Copy AnimData */
|
||||
struct AnimData *BKE_animdata_copy(struct Main *bmain, struct AnimData *adt, const int flag);
|
||||
|
||||
/* Copy AnimData */
|
||||
bool BKE_animdata_copy_id(struct Main *bmain,
|
||||
struct ID *id_to,
|
||||
struct ID *id_from,
|
||||
const int flag);
|
||||
|
||||
/* Copy AnimData Actions */
|
||||
void BKE_animdata_copy_id_action(struct Main *bmain, struct ID *id, const bool set_newid);
|
||||
|
||||
/* Merge copies of data from source AnimData block */
|
||||
typedef enum eAnimData_MergeCopy_Modes {
|
||||
/* Keep destination action */
|
||||
ADT_MERGECOPY_KEEP_DST = 0,
|
||||
|
||||
/* Use src action (make a new copy) */
|
||||
ADT_MERGECOPY_SRC_COPY = 1,
|
||||
|
||||
/* Use src action (but just reference the existing version) */
|
||||
ADT_MERGECOPY_SRC_REF = 2,
|
||||
} eAnimData_MergeCopy_Modes;
|
||||
|
||||
void BKE_animdata_merge_copy(struct Main *bmain,
|
||||
struct ID *dst_id,
|
||||
struct ID *src_id,
|
||||
eAnimData_MergeCopy_Modes action_mode,
|
||||
bool fix_drivers);
|
||||
|
||||
/* ************************************* */
|
||||
/* KeyingSets API */
|
||||
|
||||
|
|
|
@ -70,6 +70,7 @@ set(SRC
|
|||
intern/DerivedMesh.c
|
||||
intern/action.c
|
||||
intern/addon.c
|
||||
intern/anim_data.c
|
||||
intern/anim_path.c
|
||||
intern/anim_sys.c
|
||||
intern/anim_visualization.c
|
||||
|
@ -251,6 +252,7 @@ set(SRC
|
|||
BKE_DerivedMesh.h
|
||||
BKE_action.h
|
||||
BKE_addon.h
|
||||
BKE_anim_data.h
|
||||
BKE_anim_path.h
|
||||
BKE_anim_visualization.h
|
||||
BKE_animsys.h
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -52,7 +52,6 @@
|
|||
|
||||
#include "BKE_action.h"
|
||||
#include "BKE_anim_visualization.h"
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_armature.h"
|
||||
#include "BKE_constraint.h"
|
||||
#include "BKE_curve.h"
|
||||
|
|
|
@ -39,7 +39,6 @@
|
|||
|
||||
#include "BLT_translation.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_cachefile.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_lib_id.h"
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#include "BLI_string.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_camera.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_layer.h"
|
||||
|
|
|
@ -46,7 +46,6 @@
|
|||
#include "DNA_scene_types.h"
|
||||
#include "DNA_vfont_types.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_curve.h"
|
||||
#include "BKE_displist.h"
|
||||
#include "BKE_font.h"
|
||||
|
|
|
@ -46,7 +46,6 @@
|
|||
#include "DNA_scene_types.h"
|
||||
#include "DNA_texture_types.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_armature.h"
|
||||
#include "BKE_bvhutils.h" /* bvh tree */
|
||||
#include "BKE_collection.h"
|
||||
|
|
|
@ -45,6 +45,7 @@
|
|||
#include "BLT_translation.h"
|
||||
|
||||
#include "BKE_action.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_armature.h"
|
||||
#include "BKE_constraint.h"
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include "BLI_string.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_customdata.h"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_hair.h"
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
#include "BLT_translation.h"
|
||||
|
||||
#include "BKE_action.h"
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_fcurve.h"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_idtype.h"
|
||||
|
|
|
@ -43,7 +43,6 @@
|
|||
#include "DNA_object_types.h"
|
||||
#include "DNA_scene_types.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_curve.h"
|
||||
#include "BKE_customdata.h"
|
||||
#include "BKE_deform.h"
|
||||
|
|
|
@ -46,7 +46,6 @@
|
|||
#include "DNA_scene_types.h"
|
||||
|
||||
#include "BKE_anim_path.h"
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_curve.h"
|
||||
#include "BKE_displist.h"
|
||||
#include "BKE_idtype.h"
|
||||
|
|
|
@ -81,7 +81,7 @@
|
|||
#include "BLT_translation.h"
|
||||
|
||||
#include "BKE_action.h"
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_armature.h"
|
||||
#include "BKE_bpath.h"
|
||||
#include "BKE_brush.h"
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
#include "BLI_listbase.h"
|
||||
|
||||
#include "BKE_action.h"
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_armature.h"
|
||||
#include "BKE_brush.h"
|
||||
#include "BKE_cachefile.h"
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
#include "BLI_linklist_stack.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_collection.h"
|
||||
#include "BKE_constraint.h"
|
||||
#include "BKE_fcurve.h"
|
||||
|
|
|
@ -37,7 +37,6 @@
|
|||
#include "BLI_math.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_colortools.h"
|
||||
#include "BKE_icons.h"
|
||||
#include "BKE_idtype.h"
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_lib_id.h"
|
||||
#include "BKE_lightprobe.h"
|
||||
|
|
|
@ -39,7 +39,6 @@
|
|||
|
||||
#include "BLT_translation.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_colorband.h"
|
||||
#include "BKE_colortools.h"
|
||||
#include "BKE_context.h"
|
||||
|
|
|
@ -54,7 +54,6 @@
|
|||
|
||||
#include "BLT_translation.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_brush.h"
|
||||
#include "BKE_curve.h"
|
||||
#include "BKE_displist.h"
|
||||
|
|
|
@ -50,7 +50,6 @@
|
|||
|
||||
#include "BKE_main.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_curve.h"
|
||||
#include "BKE_displist.h"
|
||||
#include "BKE_idtype.h"
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
|
||||
#include "BLT_translation.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_editmesh.h"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_idtype.h"
|
||||
|
|
|
@ -53,7 +53,6 @@
|
|||
|
||||
#include "BLT_translation.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_colortools.h"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_idtype.h"
|
||||
|
|
|
@ -50,6 +50,7 @@
|
|||
|
||||
#include "BLT_translation.h"
|
||||
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_idprop.h"
|
||||
|
|
|
@ -68,6 +68,7 @@
|
|||
|
||||
#include "BKE_DerivedMesh.h"
|
||||
#include "BKE_action.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_anim_path.h"
|
||||
#include "BKE_anim_visualization.h"
|
||||
#include "BKE_animsys.h"
|
||||
|
|
|
@ -40,7 +40,6 @@
|
|||
#include "DNA_scene_types.h"
|
||||
#include "DNA_vfont_types.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_collection.h"
|
||||
#include "BKE_duplilist.h"
|
||||
#include "BKE_editmesh.h"
|
||||
|
|
|
@ -37,7 +37,6 @@
|
|||
|
||||
#include "BKE_DerivedMesh.h"
|
||||
#include "BKE_action.h"
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_armature.h"
|
||||
#include "BKE_constraint.h"
|
||||
#include "BKE_curve.h"
|
||||
|
|
|
@ -44,7 +44,6 @@
|
|||
|
||||
#include "BLT_translation.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_brush.h"
|
||||
#include "BKE_ccg.h"
|
||||
#include "BKE_colortools.h"
|
||||
|
|
|
@ -51,8 +51,6 @@
|
|||
#include "BLT_translation.h"
|
||||
|
||||
#include "BKE_anim_path.h"
|
||||
#include "BKE_animsys.h"
|
||||
|
||||
#include "BKE_boids.h"
|
||||
#include "BKE_cloth.h"
|
||||
#include "BKE_collection.h"
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include "BLI_string.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_customdata.h"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_idtype.h"
|
||||
|
|
|
@ -59,6 +59,7 @@
|
|||
#include "BLT_translation.h"
|
||||
|
||||
#include "BKE_action.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_armature.h"
|
||||
#include "BKE_cachefile.h"
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
#include "IMB_imbuf.h"
|
||||
#include "IMB_imbuf_types.h"
|
||||
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_layer.h"
|
||||
|
|
|
@ -58,6 +58,7 @@
|
|||
|
||||
#include "BLT_translation.h"
|
||||
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_fcurve.h"
|
||||
#include "BKE_global.h"
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
|
||||
#include "BLT_translation.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_lib_id.h"
|
||||
#include "BKE_main.h"
|
||||
|
|
|
@ -49,7 +49,6 @@
|
|||
|
||||
#include "BKE_main.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_colorband.h"
|
||||
#include "BKE_colortools.h"
|
||||
#include "BKE_icons.h"
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#include "BLI_string.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_lib_id.h"
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
#include "BLI_listbase.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_icons.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_lib_id.h"
|
||||
|
|
|
@ -109,7 +109,7 @@
|
|||
#include "BLT_translation.h"
|
||||
|
||||
#include "BKE_action.h"
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_armature.h"
|
||||
#include "BKE_brush.h"
|
||||
#include "BKE_collection.h"
|
||||
|
|
|
@ -52,6 +52,7 @@
|
|||
|
||||
#include "DNA_genfile.h"
|
||||
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_colortools.h"
|
||||
#include "BKE_fcurve.h"
|
||||
|
|
|
@ -37,10 +37,6 @@
|
|||
|
||||
#include "BKE_action.h"
|
||||
|
||||
extern "C" {
|
||||
#include "BKE_animsys.h"
|
||||
}
|
||||
|
||||
#include "intern/builder/deg_builder_cache.h"
|
||||
#include "intern/builder/deg_builder_remove_noop.h"
|
||||
#include "intern/depsgraph.h"
|
||||
|
|
|
@ -66,6 +66,7 @@ extern "C" {
|
|||
#include "DNA_world_types.h"
|
||||
|
||||
#include "BKE_action.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_armature.h"
|
||||
#include "BKE_cachefile.h"
|
||||
|
|
|
@ -69,7 +69,7 @@ extern "C" {
|
|||
#include "DNA_world_types.h"
|
||||
|
||||
#include "BKE_action.h"
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_armature.h"
|
||||
#include "BKE_collection.h"
|
||||
#include "BKE_collision.h"
|
||||
|
|
|
@ -44,7 +44,7 @@ extern "C" {
|
|||
#include "DNA_screen_types.h"
|
||||
#include "DNA_windowmanager_types.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_idtype.h"
|
||||
#include "BKE_node.h"
|
||||
|
|
|
@ -82,6 +82,7 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
#include "BKE_action.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_armature.h"
|
||||
#include "BKE_editmesh.h"
|
||||
|
|
|
@ -34,7 +34,6 @@ extern "C" {
|
|||
#include "DNA_ID.h"
|
||||
#include "DNA_anim_types.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_lib_id.h"
|
||||
}
|
||||
|
||||
|
|
|
@ -58,6 +58,7 @@
|
|||
|
||||
#include "RNA_access.h"
|
||||
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_curve.h"
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
#include "RNA_define.h"
|
||||
|
||||
#include "BKE_action.h"
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_fcurve.h"
|
||||
#include "BKE_global.h"
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BKE_action.h"
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_fcurve.h"
|
||||
#include "BKE_gpencil.h"
|
||||
|
|
|
@ -82,7 +82,7 @@
|
|||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BKE_action.h"
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_collection.h"
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_fcurve.h"
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#include "DNA_scene_types.h"
|
||||
|
||||
#include "BKE_action.h"
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_main.h"
|
||||
#include "BKE_scene.h"
|
||||
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
#include "DNA_space_types.h"
|
||||
#include "DNA_texture_types.h"
|
||||
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_fcurve.h"
|
||||
|
|
|
@ -42,7 +42,6 @@
|
|||
#include "BLI_blenlib.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_fcurve.h"
|
||||
|
||||
|
|
|
@ -45,6 +45,7 @@
|
|||
#include "DNA_scene_types.h"
|
||||
|
||||
#include "BKE_action.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_armature.h"
|
||||
#include "BKE_context.h"
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
#include "BLT_translation.h"
|
||||
|
||||
#include "BKE_action.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_armature.h"
|
||||
#include "BKE_constraint.h"
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#include "DNA_scene_types.h"
|
||||
|
||||
#include "BKE_action.h"
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_armature.h"
|
||||
#include "BKE_idprop.h"
|
||||
#include "BKE_layer.h"
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
#include "BLT_translation.h"
|
||||
|
||||
#include "BKE_action.h"
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_curve.h"
|
||||
#include "BKE_displist.h"
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include "BLI_blenlib.h"
|
||||
#include "BLI_ghash.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_curve.h"
|
||||
#include "BKE_fcurve.h"
|
||||
|
|
|
@ -50,6 +50,7 @@
|
|||
#include "DNA_space_types.h"
|
||||
#include "DNA_view3d_types.h"
|
||||
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_brush.h"
|
||||
#include "BKE_context.h"
|
||||
|
|
|
@ -44,7 +44,6 @@
|
|||
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_idprop.h"
|
||||
#include "BKE_main.h"
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
#include "BLT_translation.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_idprop.h"
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
#include "BLT_translation.h"
|
||||
|
||||
#include "BKE_action.h"
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_armature.h"
|
||||
#include "BKE_camera.h"
|
||||
#include "BKE_collection.h"
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
|
||||
#include "BKE_DerivedMesh.h"
|
||||
#include "BKE_action.h"
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_armature.h"
|
||||
#include "BKE_camera.h"
|
||||
#include "BKE_collection.h"
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
#include "DNA_object_types.h"
|
||||
#include "DNA_scene_types.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_camera.h"
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_customdata.h"
|
||||
|
|
|
@ -42,6 +42,7 @@
|
|||
|
||||
#include "BLT_translation.h"
|
||||
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_brush.h"
|
||||
#include "BKE_context.h"
|
||||
|
|
|
@ -42,7 +42,6 @@
|
|||
#include "RNA_enum_types.h"
|
||||
|
||||
#include "BKE_action.h"
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_fcurve.h"
|
||||
#include "BKE_key.h"
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
#include "BLT_translation.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_curve.h"
|
||||
#include "BKE_fcurve.h"
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#include "BLI_blenlib.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_nla.h"
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include "BLI_easing.h"
|
||||
#include "BLI_math.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_lib_id.h"
|
||||
#include "BKE_main.h"
|
||||
|
|
|
@ -45,6 +45,7 @@
|
|||
#include "BLI_blenlib.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_collection.h"
|
||||
#include "BKE_constraint.h"
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
#include "BIK_api.h"
|
||||
|
||||
#include "BKE_action.h"
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_armature.h"
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_curve.h"
|
||||
|
|
|
@ -28,7 +28,7 @@ extern "C" {
|
|||
#include "DNA_meshdata_types.h"
|
||||
#include "DNA_object_fluidsim_types.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_key.h"
|
||||
#include "BKE_lib_id.h"
|
||||
#include "BKE_material.h"
|
||||
|
|
|
@ -42,7 +42,6 @@ extern "C" {
|
|||
|
||||
#include "BIK_api.h"
|
||||
#include "BKE_action.h" // pose functions
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_armature.h"
|
||||
#include "BKE_constraint.h"
|
||||
#include "BKE_fcurve.h"
|
||||
|
|
|
@ -42,7 +42,6 @@ extern "C" {
|
|||
#include "DNA_texture_types.h"
|
||||
#include "DNA_userdef_types.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_constraint.h"
|
||||
#include "BKE_fcurve.h"
|
||||
#include "BLI_fileops.h"
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#include <string>
|
||||
|
||||
extern "C" {
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_duplilist.h"
|
||||
#include "BKE_key.h"
|
||||
#include "BKE_particle.h"
|
||||
|
|
|
@ -93,7 +93,7 @@ const EnumPropertyItem rna_enum_id_type_items[] = {
|
|||
# include "BLI_listbase.h"
|
||||
# include "BLI_math_base.h"
|
||||
|
||||
# include "BKE_animsys.h"
|
||||
# include "BKE_anim_data.h"
|
||||
# include "BKE_font.h"
|
||||
# include "BKE_global.h" /* XXX, remove me */
|
||||
# include "BKE_idprop.h"
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
#include "BLF_api.h"
|
||||
#include "BLT_translation.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_collection.h"
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_fcurve.h"
|
||||
|
|
|
@ -113,6 +113,7 @@ const EnumPropertyItem rna_enum_keying_flag_items_api[] = {
|
|||
|
||||
# include "BLI_math_base.h"
|
||||
|
||||
# include "BKE_anim_data.h"
|
||||
# include "BKE_animsys.h"
|
||||
# include "BKE_fcurve.h"
|
||||
# include "BKE_nla.h"
|
||||
|
|
|
@ -211,7 +211,7 @@ static StructRNA *rna_FModifierType_refine(struct PointerRNA *ptr)
|
|||
|
||||
/* ****************************** */
|
||||
|
||||
# include "BKE_animsys.h"
|
||||
# include "BKE_anim_data.h"
|
||||
# include "BKE_fcurve.h"
|
||||
|
||||
# include "DEG_depsgraph.h"
|
||||
|
|
|
@ -39,7 +39,6 @@
|
|||
|
||||
# include <stddef.h>
|
||||
|
||||
# include "BKE_animsys.h"
|
||||
# include "BKE_fcurve.h"
|
||||
|
||||
# include "BLI_math.h"
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
# include <stdio.h>
|
||||
|
||||
/* needed for some of the validation stuff... */
|
||||
# include "BKE_animsys.h"
|
||||
# include "BKE_anim_data.h"
|
||||
# include "BKE_fcurve.h"
|
||||
# include "BKE_nla.h"
|
||||
|
||||
|
|
|
@ -50,7 +50,6 @@ const EnumPropertyItem rna_enum_abc_compression_items[] = {
|
|||
|
||||
#ifdef RNA_RUNTIME
|
||||
|
||||
# include "BKE_animsys.h"
|
||||
# include "BKE_editmesh.h"
|
||||
# include "BKE_global.h"
|
||||
# include "BKE_image.h"
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
|
||||
#include "BLT_translation.h"
|
||||
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_sequencer.h"
|
||||
#include "BKE_sound.h"
|
||||
|
|
|
@ -491,7 +491,7 @@ const EnumPropertyItem rna_enum_file_sort_items[] = {
|
|||
# include "BLI_path_util.h"
|
||||
# include "BLI_string.h"
|
||||
|
||||
# include "BKE_animsys.h"
|
||||
# include "BKE_anim_data.h"
|
||||
# include "BKE_brush.h"
|
||||
# include "BKE_colortools.h"
|
||||
# include "BKE_context.h"
|
||||
|
|
|
@ -43,6 +43,7 @@
|
|||
|
||||
# include "DNA_anim_types.h"
|
||||
|
||||
# include "BKE_anim_data.h"
|
||||
# include "BKE_animsys.h"
|
||||
# include "BKE_node.h"
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#include "ED_keyframes_edit.h"
|
||||
#include "ED_keyframing.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_fcurve.h"
|
||||
#include "BKE_global.h"
|
||||
|
|
|
@ -51,6 +51,7 @@
|
|||
|
||||
#include "BLT_translation.h"
|
||||
|
||||
#include "BKE_anim_data.h"
|
||||
#include "BKE_animsys.h" /* <------ should this be here?, needed for sequencer update */
|
||||
#include "BKE_callbacks.h"
|
||||
#include "BKE_camera.h"
|
||||
|
|
|
@ -46,7 +46,6 @@
|
|||
#include "BKE_image.h"
|
||||
#include "BKE_node.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_colorband.h"
|
||||
#include "BKE_material.h"
|
||||
#include "BKE_scene.h"
|
||||
|
|
Loading…
Reference in New Issue