Fix utility function used for wrong vector size
Both source and destination are 2D vectors.
This commit is contained in:
@@ -1771,7 +1771,7 @@ static void add_edge_constraint(
|
|||||||
vb = t->next->vert;
|
vb = t->next->vert;
|
||||||
/* Get curco; cdata should have data from last time through the loop still. */
|
/* Get curco; cdata should have data from last time through the loop still. */
|
||||||
if (cdata.lambda == 0.0) {
|
if (cdata.lambda == 0.0) {
|
||||||
copy_v3_v3_db(curco, cdata.vert->co);
|
copy_v2_v2_db(curco, cdata.vert->co);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
interp_v2_v2v2_db(curco, cdata.in->vert->co, cdata.in->next->vert->co, lambda);
|
interp_v2_v2v2_db(curco, cdata.in->vert->co, cdata.in->next->vert->co, lambda);
|
||||||
|
|||||||
Reference in New Issue
Block a user