diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-24 05:24:58 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-24 05:24:58 +0400 |
commit | 3c11379e26b1aad399ecd0afc4d23df12b24f3cd (patch) | |
tree | 0a549fceeaf261e9ca0900711e99f35f6b2b0c24 /source/blender/editors | |
parent | 0c898514f0b1536e1b335f24a1408f70c0162c48 (diff) |
code cleanup: move bmesh inline funcs to headers (avoids compiling the C files).
Diffstat (limited to 'source/blender/editors')
5 files changed, 20 insertions, 21 deletions
diff --git a/source/blender/editors/transform/transform_conversions.c b/source/blender/editors/transform/transform_conversions.c index 20a51945b95..1c1fea9f505 100644 --- a/source/blender/editors/transform/transform_conversions.c +++ b/source/blender/editors/transform/transform_conversions.c @@ -56,6 +56,12 @@ #include "MEM_guardedalloc.h" +#include "BLI_math.h" +#include "BLI_blenlib.h" +#include "BLI_array.h" +#include "BLI_utildefines.h" +#include "BLI_smallhash.h" + #include "BKE_DerivedMesh.h" #include "BKE_action.h" #include "BKE_armature.h" @@ -103,12 +109,6 @@ #include "UI_view2d.h" -#include "BLI_math.h" -#include "BLI_blenlib.h" -#include "BLI_array.h" -#include "BLI_utildefines.h" -#include "BLI_smallhash.h" - #include "RNA_access.h" #include "transform.h" diff --git a/source/blender/editors/transform/transform_generics.c b/source/blender/editors/transform/transform_generics.c index fa0c0883f01..350d2365511 100644 --- a/source/blender/editors/transform/transform_generics.c +++ b/source/blender/editors/transform/transform_generics.c @@ -50,6 +50,11 @@ #include "DNA_modifier_types.h" #include "DNA_movieclip_types.h" +#include "BLI_math.h" +#include "BLI_blenlib.h" +#include "BLI_rand.h" +#include "BLI_utildefines.h" + #include "RNA_access.h" //#include "BIF_screen.h" @@ -91,11 +96,6 @@ //#include "BDR_unwrapper.h" -#include "BLI_math.h" -#include "BLI_blenlib.h" -#include "BLI_rand.h" -#include "BLI_utildefines.h" - #include "WM_types.h" #include "WM_api.h" diff --git a/source/blender/editors/transform/transform_manipulator.c b/source/blender/editors/transform/transform_manipulator.c index c9dfd3464d9..6eba3d7bd0a 100644 --- a/source/blender/editors/transform/transform_manipulator.c +++ b/source/blender/editors/transform/transform_manipulator.c @@ -52,6 +52,9 @@ #include "DNA_scene_types.h" #include "DNA_view3d_types.h" +#include "BLI_math.h" +#include "BLI_utildefines.h" + #include "RNA_access.h" #include "BKE_action.h" @@ -63,9 +66,6 @@ #include "BKE_pointcache.h" #include "BKE_tessmesh.h" -#include "BLI_math.h" -#include "BLI_utildefines.h" - #include "BIF_gl.h" #include "WM_api.h" diff --git a/source/blender/editors/transform/transform_orientations.c b/source/blender/editors/transform/transform_orientations.c index 10f1e34d6e7..6b68042444e 100644 --- a/source/blender/editors/transform/transform_orientations.c +++ b/source/blender/editors/transform/transform_orientations.c @@ -38,6 +38,9 @@ #include "DNA_screen_types.h" #include "DNA_view3d_types.h" +#include "BLI_math.h" +#include "BLI_blenlib.h" +#include "BLI_utildefines.h" #include "BKE_armature.h" #include "BKE_curve.h" @@ -45,10 +48,6 @@ #include "BKE_tessmesh.h" #include "BKE_report.h" -#include "BLI_math.h" -#include "BLI_blenlib.h" -#include "BLI_utildefines.h" - #include "BLF_translation.h" //#include "BIF_editmesh.h" diff --git a/source/blender/editors/util/crazyspace.c b/source/blender/editors/util/crazyspace.c index 06309293f9a..544a1c77d50 100644 --- a/source/blender/editors/util/crazyspace.c +++ b/source/blender/editors/util/crazyspace.c @@ -38,15 +38,15 @@ #include "DNA_mesh_types.h" #include "DNA_meshdata_types.h" +#include "BLI_utildefines.h" +#include "BLI_math.h" + #include "BKE_DerivedMesh.h" #include "BKE_modifier.h" #include "BKE_multires.h" #include "BKE_mesh.h" #include "BKE_tessmesh.h" -#include "BLI_utildefines.h" -#include "BLI_math.h" - #include "ED_util.h" typedef struct { |