diff options
author | Matt Ebb <matt@mke3.net> | 2010-01-22 09:48:29 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-01-22 09:48:29 +0300 |
commit | 38aacb92f32ef5ea80a5e9b4b7b2757a6cc4b8bf (patch) | |
tree | d74cf38589aa9c94091d83f16198455b7537ffd2 /source/blender/editors/animation/keyframing.c | |
parent | 0de9b98a31e4306d5cd41fba0c7ef28413484fef (diff) |
Cleaned up some printfs in editors/ - converted some to reports, hid others behind G_DEBUG.
Diffstat (limited to 'source/blender/editors/animation/keyframing.c')
-rw-r--r-- | source/blender/editors/animation/keyframing.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/animation/keyframing.c b/source/blender/editors/animation/keyframing.c index 6d8938d9545..e042d2731fd 100644 --- a/source/blender/editors/animation/keyframing.c +++ b/source/blender/editors/animation/keyframing.c @@ -1051,7 +1051,7 @@ static int insert_key_exec (bContext *C, wmOperator *op) /* try to insert keyframes for the channels specified by KeyingSet */ success= modify_keyframes(scene, &dsources, NULL, ks, MODIFYKEY_MODE_INSERT, cfra); if (G.f & G_DEBUG) - printf("KeyingSet '%s' - Successfully added %d Keyframes \n", ks->name, success); + BKE_reportf(op->reports, RPT_INFO, "KeyingSet '%s' - Successfully added %d Keyframes \n", ks->name, success); /* report failure or do updates? */ if (success) { @@ -1320,7 +1320,7 @@ static int delete_key_v3d_exec (bContext *C, wmOperator *op) } } - printf("Ob '%s' - Successfully removed %d keyframes \n", id->name+2, success); + BKE_reportf(op->reports, RPT_INFO, "Ob '%s' - Successfully removed %d keyframes \n", id->name+2, success); ob->recalc |= OB_RECALC_OB; } |