Blender Git Loki

Git Commits -> Revision 654f6c4

Revision 654f6c4 by Joshua Leung (master)
August 18, 2012, 04:39 (GMT)
Bugfix [#32331] Graph editor zoom to selected includes coordinate origin if more
than one curve is displayed

The range calculation used to use a fixed 0-1 range whenever it couldn't find
any values for a particular F-Curve. However, this was then taken by the
aggregation calculation to be used as just another value, leading to problems if
only vertices of a very high-value curve are selected to be included.

Modified the range calculation to ensure that suitable vertices were found
before trying to take the range values returned.

Commit Details:

Full Hash: 654f6c4c4f7f59cb7fcc2d3bd78ea09a86fff644
SVN Revision: 49976
Parent Commit: 8995554
Lines Changed: +53, -30

3 Modified Paths:

/source/blender/blenkernel/BKE_fcurve.h (+2, -2) (Diff)
/source/blender/blenkernel/intern/fcurve.c (+15, -6) (Diff)
/source/blender/editors/space_graph/graph_edit.c (+36, -22) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021