Fix for mask vert add-slide dragging flipped direction

This commit is contained in:
Campbell Barton 2014-03-29 06:43:37 +11:00
parent e9d733a8bd
commit 8b43b9f255

@ -797,6 +797,11 @@ static int slide_point_modal(bContext *C, wmOperator *op, const wmEvent *event)
{
SWAP(float, offco[0], offco[1]);
offco[1] *= -1;
/* flip last point */
if (data->point != &data->spline->points[0]) {
negate_v2(offco);
}
}
}