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:
authorLukas Tönne <lukas.toenne@gmail.com>2014-07-06 15:09:52 +0400
committerLukas Tönne <lukas.toenne@gmail.com>2014-07-06 15:10:22 +0400
commit22fa83173b326ef1344ceec6623a5562d8b851f1 (patch)
tree2bd61c23137f83838819c13d464a6a862e9b8418 /source/blender/editors/transform/transform.c
parente929dc2d8cb058f745d5dfa46ef34b69bd35f86f (diff)
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.
Diffstat (limited to 'source/blender/editors/transform/transform.c')
-rw-r--r--source/blender/editors/transform/transform.c6
1 files changed, 0 insertions, 6 deletions
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 */