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/bmesh/intern/bmesh_mods.c')
-rw-r--r--source/blender/bmesh/intern/bmesh_mods.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/bmesh/intern/bmesh_mods.c b/source/blender/bmesh/intern/bmesh_mods.c
index f1f8b1f850f..5c662614117 100644
--- a/source/blender/bmesh/intern/bmesh_mods.c
+++ b/source/blender/bmesh/intern/bmesh_mods.c
@@ -8,6 +8,7 @@
#include "BLI_ghash.h"
#include "BLI_math.h"
#include "BLI_array.h"
+#include "BLI_utildefines.h"
#include "bmesh.h"
#include "bmesh_private.h"
@@ -293,7 +294,7 @@ BMFace *BM_Split_Face(BMesh *bm, BMFace *f, BMVert *v1, BMVert *v2, BMLoop **nl,
if (nf) {
BM_Copy_Attributes(bm, bm, f, nf);
- VECCOPY(nf->no, f->no);
+ copy_v3_v3(nf->no, f->no);
}
return nf;
@@ -449,7 +450,7 @@ BMVert *BM_Split_Edge(BMesh *bm, BMVert *v, BMEdge *e, BMEdge **ne, float percen
nv = bmesh_semv(bm,v,e,ne);
if (nv == NULL) return NULL;
- VECSUB(nv->co,v2->co,v->co);
+ sub_v3_v3v3(nv->co,v2->co,v->co);
VECADDFAC(nv->co,v->co,nv->co,percent);
if (ne) {