Fixed compilation error with gcc 4.4 and 4.5

Was giving structure re-declaration error,
made it one typedef and struct declaration only.
This commit is contained in:
Sergey Sharybin 2013-04-16 11:27:19 +00:00
parent d726b4bddc
commit c429349054

@ -42,7 +42,7 @@
#include "BKE_editmesh_bvh.h" /* own include */ #include "BKE_editmesh_bvh.h" /* own include */
typedef struct BMBVHTree { struct BMBVHTree {
BMEditMesh *em; BMEditMesh *em;
BMesh *bm; BMesh *bm;
BVHTree *tree; BVHTree *tree;
@ -59,7 +59,7 @@ typedef struct BMBVHTree {
Object *ob; Object *ob;
struct Scene *scene; struct Scene *scene;
} BMBVHTree; };
static void cage_mapped_verts_callback(void *userData, int index, const float co[3], 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])) const float UNUSED(no_f[3]), const short UNUSED(no_s[3]))