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:
authorCampbell Barton <ideasman42@gmail.com>2014-03-01 06:06:07 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-03-01 06:06:07 +0400
commit6cc5bdc99e63b05248f132833bfe0259c2a27923 (patch)
treeff38b26c0a68ff34a90a3b0f2330c781e55f030d
parentf29dadc5ea16c957988b9a473f005f5676ab681c (diff)
FCurve Transform: scaling no longer changes hansle types
This matches 3d view and means you can change the amplitude of a curve while keeping auto-clamped handles.
-rw-r--r--source/blender/editors/transform/transform_conversions.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/transform/transform_conversions.c b/source/blender/editors/transform/transform_conversions.c
index 97e517cabfe..dabe4c684ab 100644
--- a/source/blender/editors/transform/transform_conversions.c
+++ b/source/blender/editors/transform/transform_conversions.c
@@ -3935,13 +3935,13 @@ static void createTransGraphEditData(bContext *C, TransInfo *t)
}
/* special hack (must be done after initTransDataCurveHandles(), as that stores handle settings to restore...):
- * - Check if we've got entire BezTriple selected and we're scaling/rotating that point,
+ * - Check if we've got entire BezTriple selected and we're rotating that point,
* then check if we're using auto-handles.
* - If so, change them auto-handles to aligned handles so that handles get affected too
*/
- if (ELEM(bezt->h1, HD_AUTO, HD_AUTO_ANIM) &&
- ELEM(bezt->h2, HD_AUTO, HD_AUTO_ANIM) &&
- ELEM(t->mode, TFM_ROTATION, TFM_RESIZE))
+ if ((t->mode == TFM_ROTATION) &&
+ ELEM(bezt->h1, HD_AUTO, HD_AUTO_ANIM) &&
+ ELEM(bezt->h2, HD_AUTO, HD_AUTO_ANIM))
{
if (hdata && (sel1) && (sel3)) {
bezt->h1 = HD_ALIGN;