From b8267a0dfba5f85cebc122377bac4d63c7af20b2 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Thu, 18 Oct 2012 16:25:58 +0000 Subject: More UI messages and BKE_reportf<->BKE_report fixes... --- source/blender/editors/physics/dynamicpaint_ops.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/editors/physics') diff --git a/source/blender/editors/physics/dynamicpaint_ops.c b/source/blender/editors/physics/dynamicpaint_ops.c index 91f1c0b2730..467ad5c6ff9 100644 --- a/source/blender/editors/physics/dynamicpaint_ops.c +++ b/source/blender/editors/physics/dynamicpaint_ops.c @@ -380,7 +380,7 @@ static int dynamicPaint_initBake(struct bContext *C, struct wmOperator *op) /* Bake was successful: * Report for ended bake and how long it took */ if (status) { - /* Format time string */ + /* Format time string */ char time_str[30]; double time = PIL_check_seconds_timer() - timer; BLI_timestr(time, time_str); @@ -389,11 +389,11 @@ static int dynamicPaint_initBake(struct bContext *C, struct wmOperator *op) BKE_reportf(op->reports, RPT_INFO, "Bake complete! (%s)", time_str); } else { - if (strlen(canvas->error)) { /* If an error occured */ + if (strlen(canvas->error)) { /* If an error occurred */ BKE_reportf(op->reports, RPT_ERROR, "Bake failed: %s", canvas->error); } else { /* User canceled the bake */ - BKE_report(op->reports, RPT_WARNING, "Baking cancelled!"); + BKE_report(op->reports, RPT_WARNING, "Baking canceled!"); } } -- cgit v1.2.3