diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-12-13 00:57:10 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-12-13 00:57:10 +0400 |
commit | 01478a3743f1d1fe3d641ff498953af027ca2e60 (patch) | |
tree | 0f397ca3a65e297ed97869160714cea235f24a70 | |
parent | 7abc66ba4232a1718d5eb67313f600ed5d77956f (diff) |
correction to report message
-rw-r--r-- | source/blender/editors/mesh/editmesh_tools.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c index 04a24951659..2e5fc515330 100644 --- a/source/blender/editors/mesh/editmesh_tools.c +++ b/source/blender/editors/mesh/editmesh_tools.c @@ -7510,12 +7510,11 @@ static int select_axis_exec(bContext *C, wmOperator *op) EditSelection *ese = em->selected.last; - if(ese==NULL || ese->type!=EDITVERT) { - BKE_report(op->reports, RPT_WARNING, "This operator requires selected vertex"); + if (ese==NULL || ese->type != EDITVERT) { + BKE_report(op->reports, RPT_WARNING, "This operator requires an active vertex (last selected)"); return OPERATOR_CANCELLED; } - - if(ese->type==EDITVERT) { + else { EditVert *ev; EditVert *act_vert= (EditVert*)ese->data; float value= act_vert->co[axis]; |