UI messages fixes - no final point ;)

This commit is contained in:
Bastien Montagne 2016-04-25 20:16:34 +02:00
parent 6a7378f50f
commit 45d9c9de35
1 changed files with 2 additions and 2 deletions

View File

@ -670,7 +670,7 @@ static bool curve_draw_init(bContext *C, wmOperator *op, bool is_invoke)
view3d_set_viewcontext(C, &cdd->vc);
if (ELEM(NULL, cdd->vc.ar, cdd->vc.rv3d, cdd->vc.v3d, cdd->vc.win, cdd->vc.scene)) {
MEM_freeN(cdd);
BKE_report(op->reports, RPT_ERROR, "Unable to access 3D viewport.");
BKE_report(op->reports, RPT_ERROR, "Unable to access 3D viewport");
return false;
}
}
@ -1100,7 +1100,7 @@ static int curve_draw_invoke(bContext *C, wmOperator *op, const wmEvent *event)
cdd->project.use_depth = true;
}
else {
BKE_report(op->reports, RPT_WARNING, "Unable to access depth buffer, using view plane.");
BKE_report(op->reports, RPT_WARNING, "Unable to access depth buffer, using view plane");
cdd->project.use_depth = false;
}
}