[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [51807] trunk/blender/source/blender: remove BLI_utildefines from BKE_DerivedMesh.h header
Campbell Barton
ideasman42 at gmail.com
Thu Nov 1 16:34:43 CET 2012
Revision: 51807
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=51807
Author: campbellbarton
Date: 2012-11-01 15:34:38 +0000 (Thu, 01 Nov 2012)
Log Message:
-----------
remove BLI_utildefines from BKE_DerivedMesh.h header
Modified Paths:
--------------
trunk/blender/source/blender/blenkernel/BKE_DerivedMesh.h
trunk/blender/source/blender/collada/AnimationExporter.h
trunk/blender/source/blender/collada/DocumentExporter.cpp
trunk/blender/source/blender/collada/GeometryExporter.cpp
trunk/blender/source/blender/collada/SceneExporter.cpp
trunk/blender/source/blender/collada/collada_utils.cpp
trunk/blender/source/blender/collada/collada_utils.h
Modified: trunk/blender/source/blender/blenkernel/BKE_DerivedMesh.h
===================================================================
--- trunk/blender/source/blender/blenkernel/BKE_DerivedMesh.h 2012-11-01 13:00:24 UTC (rev 51806)
+++ trunk/blender/source/blender/blenkernel/BKE_DerivedMesh.h 2012-11-01 15:34:38 UTC (rev 51807)
@@ -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;
Modified: trunk/blender/source/blender/collada/AnimationExporter.h
===================================================================
--- trunk/blender/source/blender/collada/AnimationExporter.h 2012-11-01 13:00:24 UTC (rev 51806)
+++ trunk/blender/source/blender/collada/AnimationExporter.h 2012-11-01 15:34:38 UTC (rev 51807)
@@ -35,10 +35,19 @@
#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 @@
#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"
Modified: trunk/blender/source/blender/collada/DocumentExporter.cpp
===================================================================
--- trunk/blender/source/blender/collada/DocumentExporter.cpp 2012-11-01 13:00:24 UTC (rev 51806)
+++ trunk/blender/source/blender/collada/DocumentExporter.cpp 2012-11-01 15:34:38 UTC (rev 51807)
@@ -79,32 +79,33 @@
#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 "BLI_math.h"
+#include "BLI_string.h"
+#include "BLI_listbase.h"
+#include "BLI_utildefines.h"
-#include "MEM_guardedalloc.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"
}
Modified: trunk/blender/source/blender/collada/GeometryExporter.cpp
===================================================================
--- trunk/blender/source/blender/collada/GeometryExporter.cpp 2012-11-01 13:00:24 UTC (rev 51806)
+++ trunk/blender/source/blender/collada/GeometryExporter.cpp 2012-11-01 15:34:38 UTC (rev 51807)
@@ -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"
Modified: trunk/blender/source/blender/collada/SceneExporter.cpp
===================================================================
--- trunk/blender/source/blender/collada/SceneExporter.cpp 2012-11-01 13:00:24 UTC (rev 51806)
+++ trunk/blender/source/blender/collada/SceneExporter.cpp 2012-11-01 15:34:38 UTC (rev 51807)
@@ -24,9 +24,13 @@
* \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)
Modified: trunk/blender/source/blender/collada/collada_utils.cpp
===================================================================
--- trunk/blender/source/blender/collada/collada_utils.cpp 2012-11-01 13:00:24 UTC (rev 51806)
+++ trunk/blender/source/blender/collada/collada_utils.cpp 2012-11-01 15:34:38 UTC (rev 51807)
@@ -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 @@
#include "DNA_armature_types.h"
#include "BLI_math.h"
+#include "BLI_linklist.h"
#include "BKE_context.h"
#include "BKE_customdata.h"
@@ -51,11 +51,8 @@
#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"
}
Modified: trunk/blender/source/blender/collada/collada_utils.h
===================================================================
--- trunk/blender/source/blender/collada/collada_utils.h 2012-11-01 13:00:24 UTC (rev 51806)
+++ trunk/blender/source/blender/collada/collada_utils.h 2012-11-01 15:34:38 UTC (rev 51807)
@@ -35,18 +35,19 @@
#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 "DNA_scene_types.h"
+
+#include "BLI_linklist.h"
+#include "BLI_utildefines.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 "ExportSettings.h"
More information about the Bf-blender-cvs
mailing list