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 16:35:43 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-10-01 16:35:43 +0400
commitfd01e728773ebc9369a78dc27c5700394e8fd98b (patch)
treec711fd25bf50e221081d321d3488e99bb35355d1 /source/blender/editors/transform/transform_manipulator.c
parent9b3e3f3e3197cc7f92f74a9f6b095c65bd43fa8f (diff)
check SELECT flags for curves (was checking for nonzero which would break if new files use this field for other flags)
Diffstat (limited to 'source/blender/editors/transform/transform_manipulator.c')
-rw-r--r--source/blender/editors/transform/transform_manipulator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform_manipulator.c b/source/blender/editors/transform/transform_manipulator.c
index bcc4bb60bb7..ee9bf486c20 100644
--- a/source/blender/editors/transform/transform_manipulator.c
+++ b/source/blender/editors/transform/transform_manipulator.c
@@ -428,11 +428,11 @@ int calc_manipulator_stats(const bContext *C)
totsel++;
}
else {
- if (bezt->f1) {
+ if (bezt->f1 & SELECT) {
calc_tw_center(scene, bezt->vec[(v3d->around == V3D_LOCAL) ? 1 : 0]);
totsel++;
}
- if (bezt->f3) {
+ if (bezt->f3 & SELECT) {
calc_tw_center(scene, bezt->vec[(v3d->around == V3D_LOCAL) ? 1 : 2]);
totsel++;
}