[Bf-blender-cvs] [c77ed84] temp_manipulators_core: Avoid include in header file
Julian Eisel
noreply at git.blender.org
Wed Sep 14 23:57:48 CEST 2016
Commit: c77ed84edc16a07b189886332fbd0c5daa82f654
Author: Julian Eisel
Date: Wed Sep 14 23:57:28 2016 +0200
Branches: temp_manipulators_core
https://developer.blender.org/rBc77ed84edc16a07b189886332fbd0c5daa82f654
Avoid include in header file
===================================================================
M source/blender/makesdna/DNA_space_types.h
M source/blender/windowmanager/intern/wm_event_system.c
M source/blender/windowmanager/manipulators/intern/manipulator_library/arrow_manipulator.c
M source/blender/windowmanager/manipulators/intern/manipulator_library/cage_manipulator.c
M source/blender/windowmanager/manipulators/intern/manipulator_library/dial_manipulator.c
M source/blender/windowmanager/manipulators/intern/wm_manipulator.c
M source/blender/windowmanager/manipulators/intern/wm_manipulator_intern.h
M source/blender/windowmanager/manipulators/intern/wm_manipulatorgroup.c
M source/blender/windowmanager/manipulators/intern/wm_manipulatormap.c
===================================================================
diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h
index 74e665a..41188c2 100644
--- a/source/blender/makesdna/DNA_space_types.h
+++ b/source/blender/makesdna/DNA_space_types.h
@@ -46,7 +46,6 @@
#include "DNA_node_types.h" /* for bNodeInstanceKey */
/* Hum ... Not really nice... but needed for spacebuts. */
#include "DNA_view2d_types.h"
-#include "DNA_manipulator_types.h"
struct ID;
struct Text;
diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c
index 29251e2..97f2d2b 100644
--- a/source/blender/windowmanager/intern/wm_event_system.c
+++ b/source/blender/windowmanager/intern/wm_event_system.c
@@ -36,6 +36,7 @@
#include <string.h>
#include "DNA_listBase.h"
+#include "DNA_manipulator_types.h"
#include "DNA_screen_types.h"
#include "DNA_scene_types.h"
#include "DNA_windowmanager_types.h"
diff --git a/source/blender/windowmanager/manipulators/intern/manipulator_library/arrow_manipulator.c b/source/blender/windowmanager/manipulators/intern/manipulator_library/arrow_manipulator.c
index 9624014..a9503ce 100644
--- a/source/blender/windowmanager/manipulators/intern/manipulator_library/arrow_manipulator.c
+++ b/source/blender/windowmanager/manipulators/intern/manipulator_library/arrow_manipulator.c
@@ -40,6 +40,7 @@
#include "BLI_math.h"
+#include "DNA_manipulator_types.h"
#include "DNA_view3d_types.h"
#include "ED_view3d.h"
diff --git a/source/blender/windowmanager/manipulators/intern/manipulator_library/cage_manipulator.c b/source/blender/windowmanager/manipulators/intern/manipulator_library/cage_manipulator.c
index b5d9288..96c1f85 100644
--- a/source/blender/windowmanager/manipulators/intern/manipulator_library/cage_manipulator.c
+++ b/source/blender/windowmanager/manipulators/intern/manipulator_library/cage_manipulator.c
@@ -41,6 +41,8 @@
#include "BLI_math.h"
#include "BLI_rect.h"
+#include "DNA_manipulator_types.h"
+
#include "ED_screen.h"
#include "MEM_guardedalloc.h"
diff --git a/source/blender/windowmanager/manipulators/intern/manipulator_library/dial_manipulator.c b/source/blender/windowmanager/manipulators/intern/manipulator_library/dial_manipulator.c
index 76d88ff..ef1c955 100644
--- a/source/blender/windowmanager/manipulators/intern/manipulator_library/dial_manipulator.c
+++ b/source/blender/windowmanager/manipulators/intern/manipulator_library/dial_manipulator.c
@@ -40,6 +40,8 @@
#include "BLI_math.h"
+#include "DNA_manipulator_types.h"
+
#include "ED_screen.h"
#include "ED_view3d.h"
diff --git a/source/blender/windowmanager/manipulators/intern/wm_manipulator.c b/source/blender/windowmanager/manipulators/intern/wm_manipulator.c
index 60c73fd..d68b8e7 100644
--- a/source/blender/windowmanager/manipulators/intern/wm_manipulator.c
+++ b/source/blender/windowmanager/manipulators/intern/wm_manipulator.c
@@ -34,6 +34,8 @@
#include "BLI_path_util.h"
#include "BLI_string.h"
+#include "DNA_manipulator_types.h"
+
#include "ED_screen.h"
#include "ED_view3d.h"
diff --git a/source/blender/windowmanager/manipulators/intern/wm_manipulator_intern.h b/source/blender/windowmanager/manipulators/intern/wm_manipulator_intern.h
index c50b492..2c6808d 100644
--- a/source/blender/windowmanager/manipulators/intern/wm_manipulator_intern.h
+++ b/source/blender/windowmanager/manipulators/intern/wm_manipulator_intern.h
@@ -45,7 +45,7 @@ enum {
WM_MANIPULATOR_TWEAK_PRECISE = (1 << 0),
};
-bool WM_manipulator_register(wmManipulatorGroup *mgroup, struct wmManipulator *manipulator, const char *name);
+bool WM_manipulator_register(struct wmManipulatorGroup *mgroup, struct wmManipulator *manipulator, const char *name);
bool WM_manipulator_deselect(struct wmManipulatorMap *mmap, struct wmManipulator *manipulator);
bool WM_manipulator_select(bContext *C, struct wmManipulatorMap *mmap, struct wmManipulator *manipulator);
diff --git a/source/blender/windowmanager/manipulators/intern/wm_manipulatorgroup.c b/source/blender/windowmanager/manipulators/intern/wm_manipulatorgroup.c
index 3b4bb5e..a4396bc 100644
--- a/source/blender/windowmanager/manipulators/intern/wm_manipulatorgroup.c
+++ b/source/blender/windowmanager/manipulators/intern/wm_manipulatorgroup.c
@@ -41,6 +41,8 @@
#include "BPY_extern.h"
+#include "DNA_manipulator_types.h"
+
#include "ED_screen.h"
#include "MEM_guardedalloc.h"
diff --git a/source/blender/windowmanager/manipulators/intern/wm_manipulatormap.c b/source/blender/windowmanager/manipulators/intern/wm_manipulatormap.c
index 3203d5d..2a023ae 100644
--- a/source/blender/windowmanager/manipulators/intern/wm_manipulatormap.c
+++ b/source/blender/windowmanager/manipulators/intern/wm_manipulatormap.c
@@ -36,6 +36,8 @@
#include "BLI_string.h"
#include "BLI_ghash.h"
+#include "DNA_manipulator_types.h"
+
#include "ED_screen.h"
#include "ED_view3d.h"
More information about the Bf-blender-cvs
mailing list