bugfix [#24324] Wrong center for scaling Bezier Curve's handles
authorCampbell Barton <ideasman42@gmail.com>
Tue, 19 Oct 2010 14:11:46 +0000 (14:11 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 19 Oct 2010 14:11:46 +0000 (14:11 +0000)
commit26249043e61376ad1ab997685684757bb77b9711
tree5390d5fb4bfb33ce518ff8d4995b37412130afc8
parentdc7e1037d42304282d58359116fa0e261037fff6
bugfix [#24324] Wrong center for scaling Bezier Curve's handles
slight change to how transform calculates the center of each bezier handle selection.
- selecting both handles but not the knot now uses the mid point between the 2, before it used the handle.
- selecting 1 handle of a curve was still setting td->center to be the knot, now use the handles location only if its selected.
source/blender/editors/transform/transform_conversions.c
source/blender/editors/transform/transform_manipulator.c