Commit: 3a4e8f8184cfde3062bfad1a7745aba02984535d
Author: Joshua Leung
Date:   Wed Jul 30 18:15:49 2014 +1200
Branches: master
https://developer.blender.org/rB3a4e8f8184cfde3062bfad1a7745aba02984535d

Bugfix T41240: Home key doesn't show everything on F-Curves

Own copy and paste typo in 73d157e meant that this was not in some cases,
the bounds calculated may be incorrect.

===================================================================

M       source/blender/blenkernel/intern/fcurve.c

===================================================================

diff --git a/source/blender/blenkernel/intern/fcurve.c 
b/source/blender/blenkernel/intern/fcurve.c
index 5ad8a1c..09c1dcf 100644
--- a/source/blender/blenkernel/intern/fcurve.c
+++ b/source/blender/blenkernel/intern/fcurve.c
@@ -542,7 +542,7 @@ bool calc_fcurve_bounds(FCurve *fcu, float *xmin, float 
*xmax, float *ymin, floa
                                                        /* right handle - only 
if applicable */
                                                        if (bezt->ipo == 
BEZT_IPO_BEZ) {
                                                                yminv = 
min_ff(yminv, bezt->vec[2][1]);
-                                                               ymaxv = 
min_ff(ymaxv, bezt->vec[2][1]);
+                                                               ymaxv = 
max_ff(ymaxv, bezt->vec[2][1]);
                                                        }
                                                }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to