diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2014-07-16 01:51:29 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2014-07-16 01:51:29 +0400 |
commit | c636c40299a2090e98e4dbc36db9112bd0107c83 (patch) | |
tree | 86bf028efcd948b285dd23cc6d92384ce3894388 | |
parent | f8f7dc6d6d2894accfe4a3026476f2a678be7515 (diff) |
Functionality Review:
Fix: Rotating/Scaling a handle would not use curve center as pivot.
-rw-r--r-- | source/blender/editors/transform/transform_conversions.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source/blender/editors/transform/transform_conversions.c b/source/blender/editors/transform/transform_conversions.c index c127d1125b3..8e3d28e78c4 100644 --- a/source/blender/editors/transform/transform_conversions.c +++ b/source/blender/editors/transform/transform_conversions.c @@ -7048,10 +7048,6 @@ static void PaintCurvePointToTransData(PaintCurvePoint *pcp, TransData *td, Tran if (pcp->bez.f2 == SELECT) { int i; for (i = 0; i < 3; i++) { - /* CV coords are scaled by aspects. this is needed for rotations and - * proportional editing to be consistent with the stretched CV coords - * that are displayed. this also means that for display and numinput, - * and when the the CV coords are flushed, these are converted each time */ copy_v2_v2(td2d->loc, bezt->vec[i]); td2d->loc[2] = 0.0f; td2d->loc2d = bezt->vec[i]; @@ -7091,7 +7087,7 @@ static void PaintCurvePointToTransData(PaintCurvePoint *pcp, TransData *td, Tran td->flag = 0; td->loc = td2d->loc; - copy_v3_v3(td->center, bezt->vec[id]); + copy_v3_v3(td->center, bezt->vec[1]); copy_v3_v3(td->iloc, td->loc); memset(td->axismtx, 0, sizeof(td->axismtx)); |