From 22fa83173b326ef1344ceec6623a5562d8b851f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20T=C3=B6nne?= Date: Sun, 6 Jul 2014 13:09:52 +0200 Subject: Fix T40548: After canceling, F-Curve handlers don't go back to original position. Handle vectors for the initial location were only stored when the handles are actually selected for transform. When only the master vertex is moved this can still affect the handles though, since they are constraint to one side of the master vertex. Now the handle data is stored regardless of whether handles are included in the transform, so on cancel their location is reset correctly as well. --- source/blender/editors/transform/transform.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'source/blender/editors/transform/transform.c') diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index 32ba4ba763b..a53b4a75b20 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -7703,12 +7703,6 @@ static void applyTimeScale(TransInfo *t, const int UNUSED(mval[2])) /* TODO, move to: transform_queries.c */ -bool checkUseLocalCenter_GraphEdit(TransInfo *t) -{ - return ((t->around == V3D_LOCAL) && - !ELEM4(t->mode, TFM_TRANSLATION, TFM_TIME_TRANSLATE, TFM_TIME_SLIDE, TFM_TIME_DUPLICATE)); -} - bool checkUseAxisMatrix(TransInfo *t) { /* currently only checks for editmode */ -- cgit v1.2.3