Cleanup: Move armature_intern.h to C++
This commit is contained in:
@@ -38,7 +38,7 @@ set(SRC
|
||||
pose_transform.cc
|
||||
pose_utils.cc
|
||||
|
||||
armature_intern.h
|
||||
armature_intern.hh
|
||||
meshlaplacian.h
|
||||
)
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
|
||||
#include "DEG_depsgraph.hh"
|
||||
|
||||
#include "armature_intern.h"
|
||||
#include "armature_intern.hh"
|
||||
|
||||
/* *************** Adding stuff in editmode *************** */
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
|
||||
#include "DEG_depsgraph.hh"
|
||||
|
||||
#include "armature_intern.h"
|
||||
#include "armature_intern.hh"
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
/** \name Object Tools Public API
|
||||
|
||||
@@ -8,10 +8,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* internal exports only */
|
||||
struct wmOperatorType;
|
||||
|
||||
@@ -335,7 +331,3 @@ int bone_looper(struct Object *ob,
|
||||
int (*bone_func)(struct Object *, struct Bone *, void *));
|
||||
|
||||
/** \} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
@@ -51,7 +51,7 @@
|
||||
|
||||
#include "ANIM_bone_collections.hh"
|
||||
|
||||
#include "armature_intern.h"
|
||||
#include "armature_intern.hh"
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
/** \name Unique Bone Name Utility (Edit Mode)
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
#include "ED_armature.hh"
|
||||
#include "ED_screen.hh"
|
||||
|
||||
#include "armature_intern.h"
|
||||
#include "armature_intern.hh"
|
||||
|
||||
/* ************************** registration **********************************/
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
|
||||
#include "ANIM_bone_collections.hh"
|
||||
|
||||
#include "armature_intern.h"
|
||||
#include "armature_intern.hh"
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
/** \name Edit Armature Join
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
#include "ANIM_bone_collections.hh"
|
||||
#include "ANIM_bonecolor.hh"
|
||||
|
||||
#include "armature_intern.h"
|
||||
#include "armature_intern.hh"
|
||||
|
||||
/* utility macros for storing a temp int in the bone (selection flag) */
|
||||
#define EBONE_PREV_FLAG_GET(ebone) ((void)0, (ebone)->temp.i)
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
#include "ANIM_bone_collections.hh"
|
||||
|
||||
#include "armature_intern.h"
|
||||
#include "armature_intern.hh"
|
||||
#include "meshlaplacian.h"
|
||||
|
||||
/* ******************************* Bone Skinning *********************************************** */
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
#include "ANIM_bone_collections.hh"
|
||||
|
||||
#include "armature_intern.h"
|
||||
#include "armature_intern.hh"
|
||||
|
||||
#include <cstring>
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
#include "UI_interface.hh"
|
||||
#include "UI_resources.hh"
|
||||
|
||||
#include "armature_intern.h"
|
||||
#include "armature_intern.hh"
|
||||
|
||||
struct wmOperator;
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
|
||||
#include "UI_interface.hh"
|
||||
|
||||
#include "armature_intern.h"
|
||||
#include "armature_intern.hh"
|
||||
|
||||
#undef DEBUG_TIME
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
#include "ANIM_bone_collections.hh"
|
||||
#include "ANIM_keyframing.hh"
|
||||
|
||||
#include "armature_intern.h"
|
||||
#include "armature_intern.hh"
|
||||
|
||||
enum ePoseBlendState {
|
||||
POSE_BLEND_INIT,
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
#include "ANIM_bone_collections.hh"
|
||||
#include "ANIM_bonecolor.hh"
|
||||
|
||||
#include "armature_intern.h"
|
||||
#include "armature_intern.hh"
|
||||
|
||||
/* utility macros for storing a temp int in the bone (selection flag) */
|
||||
#define PBONE_PREV_FLAG_GET(pchan) ((void)0, POINTER_AS_INT((pchan)->temp))
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
#include "GPU_matrix.h"
|
||||
#include "GPU_state.h"
|
||||
|
||||
#include "armature_intern.h"
|
||||
#include "armature_intern.hh"
|
||||
|
||||
#include "BLF_api.h"
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
#include "UI_interface.hh"
|
||||
#include "UI_resources.hh"
|
||||
|
||||
#include "armature_intern.h"
|
||||
#include "armature_intern.hh"
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
/** \name Local Utilities
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
|
||||
#include "ANIM_keyframing.hh"
|
||||
|
||||
#include "armature_intern.h"
|
||||
#include "armature_intern.hh"
|
||||
|
||||
/* *********************************************** */
|
||||
/* Contents of this File:
|
||||
|
||||
Reference in New Issue
Block a user