diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-10-01 16:35:43 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-10-01 16:35:43 +0400 |
commit | fd01e728773ebc9369a78dc27c5700394e8fd98b (patch) | |
tree | c711fd25bf50e221081d321d3488e99bb35355d1 /source/blender/editors/transform/transform_manipulator.c | |
parent | 9b3e3f3e3197cc7f92f74a9f6b095c65bd43fa8f (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.c | 4 |
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++; } |