Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/mesh/editmesh_bvh.c')
-rw-r--r--source/blender/editors/mesh/editmesh_bvh.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/source/blender/editors/mesh/editmesh_bvh.c b/source/blender/editors/mesh/editmesh_bvh.c
index 8e397797dd9..4c989a22291 100644
--- a/source/blender/editors/mesh/editmesh_bvh.c
+++ b/source/blender/editors/mesh/editmesh_bvh.c
@@ -29,9 +29,6 @@
* \ingroup edmesh
*/
-#define IN_EDITMESHBVH
-
-
#include "MEM_guardedalloc.h"
#include "DNA_scene_types.h"
@@ -39,18 +36,18 @@
#include "DNA_screen_types.h"
#include "DNA_view3d_types.h"
-
#include "BLI_math.h"
#include "BLI_smallhash.h"
#include "BKE_DerivedMesh.h"
#include "BKE_tessmesh.h"
-#include "ED_mesh.h"
#include "ED_view3d.h"
+#define IN_EDITMESHBVH /* needed for typedef workaround */
#include "editmesh_bvh.h" /* own include */
+
typedef struct BMBVHTree {
BMEditMesh *em;
BMesh *bm;