GPencil: Fix usability problem with curve control points apart
Based on feedback from @matiasmendio There was a problem with the control points because it was very difficult to know what point move. Now the points are moved apart and makes easy to know what point use.
This commit is contained in:
parent
eee46769ce
commit
158eb98c22
|
@ -225,8 +225,8 @@ static void gp_primitive_update_cps(tGPDprimitive *tgpi)
|
|||
}
|
||||
else if (tgpi->type == GP_STROKE_CURVE) {
|
||||
mid_v2_v2v2(tgpi->midpoint, tgpi->start, tgpi->end);
|
||||
copy_v2_v2(tgpi->cp1, tgpi->midpoint);
|
||||
copy_v2_v2(tgpi->cp2, tgpi->cp1);
|
||||
interp_v2_v2v2(tgpi->cp1, tgpi->midpoint, tgpi->start, 0.33f);
|
||||
interp_v2_v2v2(tgpi->cp2, tgpi->midpoint, tgpi->end, 0.33f);
|
||||
}
|
||||
else if (tgpi->type == GP_STROKE_ARC) {
|
||||
if (tgpi->flip) {
|
||||
|
|
Loading…
Reference in New Issue