Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2011-05-10 18:38:55 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-05-10 18:38:55 +0400
commit1d53ea0a6551ef84db139268abf045a328e26978 (patch)
tree41b404d96163b2c9e2aa13a5adbf8f1fe16c0be3 /source/blender/editors/curve
parenteabb4441061401245f4e12de7c54f9c46c7b3826 (diff)
Fix #27217: Bézier control points moves bizarre
Re-calculate handles after applying transform matrix on curve object This commit is'n fixing changing of curve shape whe nyou're deforming it (as it was intially reported) but just adds needed handles recalculation. Handles are calculated correct in that "unneded deformed" curve.
Diffstat (limited to 'source/blender/editors/curve')
-rw-r--r--source/blender/editors/curve/editcurve.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/curve/editcurve.c b/source/blender/editors/curve/editcurve.c
index cb73f20fe7b..01a39cf208c 100644
--- a/source/blender/editors/curve/editcurve.c
+++ b/source/blender/editors/curve/editcurve.c
@@ -6118,6 +6118,7 @@ int join_curve_exec(bContext *C, wmOperator *UNUSED(op))
mul_m4_v3(cmat, bezt->vec[2]);
bezt++;
}
+ calchandlesNurb(newnu);
}
if( (bp= newnu->bp) ) {
a= newnu->pntsu*nu->pntsv;