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>2013-10-01 12:30:46 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-10-01 12:30:46 +0400
commitaecb76b93e57d48c8607007ff7581e7ed9c7a031 (patch)
tree1743239e0d23fc3a8e1c8802e6474c7c850004f0
parentf1f7648d4ce51b29f17108ff96287de3994d00b0 (diff)
fix bug with vector handles in the graph editor when transforming 2 selected points of a bezt, the unselected handle wouldn't have its value restored on transform cancel.
-rw-r--r--source/blender/editors/transform/transform_conversions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_conversions.c b/source/blender/editors/transform/transform_conversions.c
index 35896f65668..0231ea73322 100644
--- a/source/blender/editors/transform/transform_conversions.c
+++ b/source/blender/editors/transform/transform_conversions.c
@@ -3891,7 +3891,7 @@ static void createTransGraphEditData(bContext *C, TransInfo *t)
}
/* if handles were not selected, store their selection status */
- if (!(sel1) && !(sel3)) {
+ if (!(sel1) || !(sel3)) {
if (hdata == NULL)
hdata = initTransDataCurveHandles(td, bezt);
}