remove BLI_utildefines from BKE_DerivedMesh.h header
authorCampbell Barton <ideasman42@gmail.com>
Thu, 1 Nov 2012 15:34:38 +0000 (15:34 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 1 Nov 2012 15:34:38 +0000 (15:34 +0000)
source/blender/blenkernel/BKE_DerivedMesh.h
source/blender/collada/AnimationExporter.h
source/blender/collada/DocumentExporter.cpp
source/blender/collada/GeometryExporter.cpp
source/blender/collada/SceneExporter.cpp
source/blender/collada/collada_utils.cpp
source/blender/collada/collada_utils.h

index ecbdb58f44e257a5fc5c15afc86a5a2729950ac4..c6c54cc6e8a3436213f9f565b9a79bc470532d4f 100644 (file)
@@ -75,9 +75,6 @@
 #include "BKE_customdata.h"
 #include "BKE_bvhutils.h"
 
-/* defines BLI_INLINE */
-#include "BLI_utildefines.h"
-
 struct CCGElem;
 struct CCGKey;
 struct MVert;
index 665c6999093b693872e7b7b564c2640562dbde18..349930dea8f60843d60661ec9b1e0083fe70dde9 100644 (file)
@@ -35,10 +35,19 @@ extern "C"
 #include "DNA_armature_types.h"
 #include "DNA_material_types.h"
 
+#include "BLI_math.h"
+#include "BLI_string.h"
+#include "BLI_listbase.h"
+#include "BLI_utildefines.h"
+
 #include "BKE_DerivedMesh.h"
 #include "BKE_fcurve.h"
 #include "BKE_animsys.h"
 #include "BKE_scene.h"
+#include "BKE_action.h" // pose functions
+#include "BKE_armature.h"
+#include "BKE_object.h"
+
 #ifdef NAN_BUILDINFO
 extern char build_rev[];
 #endif
@@ -46,14 +55,6 @@ extern char build_rev[];
 
 #include "MEM_guardedalloc.h"
 
-#include "BKE_action.h" // pose functions
-#include "BKE_armature.h"
-#include "BKE_object.h"
-
-#include "BLI_math.h"
-#include "BLI_string.h"
-#include "BLI_listbase.h"
-
 #include "RNA_access.h"
 
 #include "COLLADASWSource.h"
index bd7ad16dabd8b0bc15e77f52d3c29ebde6ab4fef..f21a4f6c5578d6b6c53584a41748f082c4b052e2 100644 (file)
@@ -79,31 +79,32 @@ extern "C"
 #include "DNA_modifier_types.h"
 #include "DNA_userdef_types.h"
 
-#include "BKE_DerivedMesh.h"
-#include "BKE_fcurve.h"
-#include "BKE_animsys.h"
 #include "BLI_path_util.h"
 #include "BLI_fileops.h"
-#include "ED_keyframing.h"
-#ifdef WITH_BUILDINFO
-extern char build_rev[];
-#endif
-
-#include "MEM_guardedalloc.h"
+#include "BLI_math.h"
+#include "BLI_string.h"
+#include "BLI_listbase.h"
+#include "BLI_utildefines.h"
 
+#include "BKE_DerivedMesh.h"
+#include "BKE_action.h" // pose functions
+#include "BKE_animsys.h"
+#include "BKE_armature.h"
 #include "BKE_blender.h" // version info
-#include "BKE_scene.h"
+#include "BKE_fcurve.h"
 #include "BKE_global.h"
+#include "BKE_image.h"
 #include "BKE_main.h"
 #include "BKE_material.h"
-#include "BKE_action.h" // pose functions
-#include "BKE_armature.h"
-#include "BKE_image.h"
 #include "BKE_object.h"
+#include "BKE_scene.h"
 
-#include "BLI_math.h"
-#include "BLI_string.h"
-#include "BLI_listbase.h"
+#include "ED_keyframing.h"
+#ifdef WITH_BUILDINFO
+extern char build_rev[];
+#endif
+
+#include "MEM_guardedalloc.h"
 
 #include "RNA_access.h"
 }
index 24ce1ee117d46f41e77bcd072b17fcddf5111a79..f33f0fa110dd1716d25bcd9de0d180685c67c736 100644 (file)
@@ -38,6 +38,8 @@
 #include "DNA_meshdata_types.h"
 
 extern "C" {
+       #include "BLI_utildefines.h"
+
        #include "BKE_DerivedMesh.h"
        #include "BKE_main.h"
        #include "BKE_global.h"
index 4aaff024caced051fa89d884b84958b2e66141e3..6d239ae0fb1fc62bf944edd29ee75f449b46c12d 100644 (file)
  *  \ingroup collada
  */
 
+extern "C" {
+       #include "BLI_utildefines.h"
+       #include "BKE_object.h"
+}
+
 #include "SceneExporter.h"
 #include "collada_utils.h"
-#include "BKE_object.h"
 
 SceneExporter::SceneExporter(COLLADASW::StreamWriter *sw, ArmatureExporter *arm, const ExportSettings *export_settings)
        : COLLADASW::LibraryVisualScenes(sw), arm_exporter(arm), export_settings(export_settings)
index 018d66c6f550ba38259f2f60b731794966f994d3..35844b549de27f0355d196b43e0bf45c2944d14b 100644 (file)
@@ -35,7 +35,6 @@
 #include "collada_utils.h"
 
 extern "C" {
-
 #include "DNA_modifier_types.h"
 #include "DNA_customdata_types.h"
 #include "DNA_object_types.h"
@@ -44,6 +43,7 @@ extern "C" {
 #include "DNA_armature_types.h"
 
 #include "BLI_math.h"
+#include "BLI_linklist.h"
 
 #include "BKE_context.h"
 #include "BKE_customdata.h"
@@ -51,10 +51,7 @@ extern "C" {
 #include "BKE_object.h"
 #include "BKE_mesh.h"
 #include "BKE_scene.h"
-
 #include "BKE_DerivedMesh.h"
-#include "BLI_linklist.h"
-
 
 #include "WM_api.h" // XXX hrm, see if we can do without this
 #include "WM_types.h"
index b52115722fe6c48a80fb78297602a01124132c9a..b8990c3fcdd89ac60bf8b6e0f59afbad155e1ab6 100644 (file)
 #include <vector>
 #include <map>
 
+extern "C" {
 #include "DNA_object_types.h"
 #include "DNA_mesh_types.h"
 #include "DNA_customdata_types.h"
 #include "DNA_texture_types.h"
-#include "BKE_context.h"
-#include "BKE_object.h"
-
 #include "DNA_scene_types.h"
 
-extern "C" {
-#include "BKE_DerivedMesh.h"
 #include "BLI_linklist.h"
+#include "BLI_utildefines.h"
+
+#include "BKE_context.h"
+#include "BKE_object.h"
+#include "BKE_DerivedMesh.h"
 }
 
 #include "ExportSettings.h"