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:
authorSergey Sharybin <sergey.vfx@gmail.com>2013-04-16 15:27:19 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2013-04-16 15:27:19 +0400
commitc4293490547700312e040f8ed55b320db0b46e2f (patch)
tree98e1ba664bb60637d927d25d2efa13359026e143 /source/blender/blenkernel/intern/editmesh_bvh.c
parentd726b4bddcb5b815148a9e1440f9fb26a32bcdb2 (diff)
Fixed compilation error with gcc 4.4 and 4.5
Was giving structure re-declaration error, made it one typedef and struct declaration only.
Diffstat (limited to 'source/blender/blenkernel/intern/editmesh_bvh.c')
-rw-r--r--source/blender/blenkernel/intern/editmesh_bvh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/editmesh_bvh.c b/source/blender/blenkernel/intern/editmesh_bvh.c
index 8a00887d26a..3a3355636d2 100644
--- a/source/blender/blenkernel/intern/editmesh_bvh.c
+++ b/source/blender/blenkernel/intern/editmesh_bvh.c
@@ -42,7 +42,7 @@
#include "BKE_editmesh_bvh.h" /* own include */
-typedef struct BMBVHTree {
+struct BMBVHTree {
BMEditMesh *em;
BMesh *bm;
BVHTree *tree;
@@ -59,7 +59,7 @@ typedef struct BMBVHTree {
Object *ob;
struct Scene *scene;
-} BMBVHTree;
+};
static void cage_mapped_verts_callback(void *userData, int index, const float co[3],
const float UNUSED(no_f[3]), const short UNUSED(no_s[3]))