[Bf-blender-cvs] [708045eb40b] master: Fix utility function used for wrong vector size
Sergey Sharybin
noreply at git.blender.org
Mon Dec 23 09:34:15 CET 2019
Commit: 708045eb40b9d38b6585f930cfbb0ebaf4349d0a
Author: Sergey Sharybin
Date: Mon Dec 23 09:33:17 2019 +0100
Branches: master
https://developer.blender.org/rB708045eb40b9d38b6585f930cfbb0ebaf4349d0a
Fix utility function used for wrong vector size
Both source and destination are 2D vectors.
===================================================================
M source/blender/blenlib/intern/delaunay_2d.c
===================================================================
diff --git a/source/blender/blenlib/intern/delaunay_2d.c b/source/blender/blenlib/intern/delaunay_2d.c
index 350f99ce434..4faaf1605e0 100644
--- a/source/blender/blenlib/intern/delaunay_2d.c
+++ b/source/blender/blenlib/intern/delaunay_2d.c
@@ -1771,7 +1771,7 @@ static void add_edge_constraint(
vb = t->next->vert;
/* Get curco; cdata should have data from last time through the loop still. */
if (cdata.lambda == 0.0) {
- copy_v3_v3_db(curco, cdata.vert->co);
+ copy_v2_v2_db(curco, cdata.vert->co);
}
else {
interp_v2_v2v2_db(curco, cdata.in->vert->co, cdata.in->next->vert->co, lambda);
More information about the Bf-blender-cvs
mailing list