Fix T45523: "View All" in Graph Editor does not respect Y axis with small values
authorJoshua Leung <aligorith@gmail.com>
Fri, 22 Jan 2016 12:56:23 +0000 (01:56 +1300)
committerJoshua Leung <aligorith@gmail.com>
Fri, 22 Jan 2016 12:56:45 +0000 (01:56 +1300)
commit477078defa0eab48db167a04c208782d1114525c
treea94aa40bbf5ac44dec1dc91feaa563e57a8ccea9
parent56e729105a48fe71b82c8131888910ba3a6451b6
Fix T45523: "View All" in Graph Editor does not respect Y axis with small values

The previous threshold used to prevent the Graph Editor from imploding if
presented with a flat (or nearly flat, accounting for floating point precision)
curve was too coarse, meaning that in some cases, the "View All" tool would end
up behaving weirdly.
source/blender/editors/space_graph/graph_edit.c