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/object/object_transform.c
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/object/object_transform.c')
-rw-r--r--source/blender/editors/object/object_transform.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/object/object_transform.c b/source/blender/editors/object/object_transform.c
index bce16ceeed2..f7c6ff99bde 100644
--- a/source/blender/editors/object/object_transform.c
+++ b/source/blender/editors/object/object_transform.c
@@ -515,6 +515,7 @@ static int apply_objects_internal(bContext *C, ReportList *reports, int apply_lo
mul_m4_v3(mat, bezt->vec[2]);
bezt->radius *= scale;
}
+ calchandlesNurb(nu);
}
else {
a= nu->pntsu*nu->pntsv;