Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/curve/editcurve_select.c')
-rw-r--r--source/blender/editors/curve/editcurve_select.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/source/blender/editors/curve/editcurve_select.c b/source/blender/editors/curve/editcurve_select.c
index 721aa7afecc..a76e73d3cf1 100644
--- a/source/blender/editors/curve/editcurve_select.c
+++ b/source/blender/editors/curve/editcurve_select.c
@@ -1464,15 +1464,10 @@ static int select_nth_exec(bContext *C, wmOperator *op)
if (!changed) {
if (obact->type == OB_SURF) {
- BKE_report(
- op->reports,
- RPT_ERROR,
- (objects_len == 1 ? "Surface has no active point" : "Surfaces have no active point"));
+ BKE_report(op->reports, RPT_ERROR, "Surface(s) have no active point");
}
else {
- BKE_report(op->reports,
- RPT_ERROR,
- (objects_len == 1 ? "Curve has no active point" : "Curves have no active point"));
+ BKE_report(op->reports, RPT_ERROR, "Curve(s) have no active point");
}
return OPERATOR_CANCELLED;
}