diff options
author | Joshua Leung <aligorith@gmail.com> | 2014-03-21 03:55:10 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2014-03-21 05:53:17 +0400 |
commit | 3267454250b2f65b47ef5cb28ff45c822377b401 (patch) | |
tree | 3bf09375637a561644f1aa5a3b14e931d51dae59 /source | |
parent | dfa5ced30ef36eb81b224a20ac026c0f9016d967 (diff) |
Debug prints weren't getting triggered, since they no longer use the old flag
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/fcurve.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/fcurve.c b/source/blender/blenkernel/intern/fcurve.c index 5d13c485a71..76e95b9c3f5 100644 --- a/source/blender/blenkernel/intern/fcurve.c +++ b/source/blender/blenkernel/intern/fcurve.c @@ -2041,7 +2041,7 @@ static float fcurve_eval_keyframes(FCurve *fcu, BezTriple *bezts, float evaltime /* evaltime occurs somewhere in the middle of the curve */ /* - use binary search to find appropriate keyframes */ a = binarysearch_bezt_index(bezts, evaltime, fcu->totvert, &exact); - if (G.f & G_DEBUG) printf("eval fcurve '%s' - %f => %d/%d, %d\n", fcu->rna_path, evaltime, a, fcu->totvert, exact); + if (G.debug & G_DEBUG) printf("eval fcurve '%s' - %f => %d/%d, %d\n", fcu->rna_path, evaltime, a, fcu->totvert, exact); bezt = bezts + a; prevbezt = (a > 0) ? bezt - 1 : bezt; @@ -2097,7 +2097,7 @@ static float fcurve_eval_keyframes(FCurve *fcu, BezTriple *bezts, float evaltime } } else { - if (G.f & G_DEBUG) printf(" ERROR: failed eval - p=%f b=%f, t=%f (%f)\n", prevbezt->vec[1][0], bezt->vec[1][0], evaltime, fabsf(bezt->vec[1][0] - evaltime)); + if (G.debug & G_DEBUG) printf(" ERROR: failed eval - p=%f b=%f, t=%f (%f)\n", prevbezt->vec[1][0], bezt->vec[1][0], evaltime, fabsf(bezt->vec[1][0] - evaltime)); } } |