diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-12-23 11:33:17 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-12-23 11:34:09 +0300 |
commit | 708045eb40b9d38b6585f930cfbb0ebaf4349d0a (patch) | |
tree | 4ece2d775d1d36b8017e5b3db33a063c556e50eb /source/blender | |
parent | b888711e50e428c9b1d1744d2775fd4d95ddcb1e (diff) |
Fix utility function used for wrong vector size
Both source and destination are 2D vectors.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenlib/intern/delaunay_2d.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |