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:
authorHoward Trickey <howard.trickey@gmail.com>2019-02-15 17:15:32 +0300
committerHoward Trickey <howard.trickey@gmail.com>2019-02-15 17:15:32 +0300
commitfaa255c0a4e4f218ba6d16b2733d6197d93101e5 (patch)
tree9bddc6a76bd1616ce5a30cc1a009dd889b2843ce /source/blender/editors/mesh/editmesh_bevel.c
parentdd97b09fa8d5cabb3b3eeb6e3f91ef88783ddf7b (diff)
Bevel: remove workspace text message when exiting bevel.
The message with shortcuts was hanging around after bevel exited.
Diffstat (limited to 'source/blender/editors/mesh/editmesh_bevel.c')
-rw-r--r--source/blender/editors/mesh/editmesh_bevel.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_bevel.c b/source/blender/editors/mesh/editmesh_bevel.c
index 219437bc3fd..7696c0a141c 100644
--- a/source/blender/editors/mesh/editmesh_bevel.c
+++ b/source/blender/editors/mesh/editmesh_bevel.c
@@ -429,7 +429,6 @@ static void edbm_bevel_calc_initial_length(wmOperator *op, const wmEvent *event,
static int edbm_bevel_invoke(bContext *C, wmOperator *op, const wmEvent *event)
{
- /* TODO make modal keymap (see fly mode) */
RegionView3D *rv3d = CTX_wm_region_view3d(C);
BevelData *opdata;
float center_3d[3];
@@ -456,6 +455,7 @@ static int edbm_bevel_invoke(bContext *C, wmOperator *op, const wmEvent *event)
if (!edbm_bevel_calc(op)) {
edbm_bevel_cancel(C, op);
+ ED_workspace_status_text(C, NULL);
return OPERATOR_CANCELLED;
}
@@ -605,6 +605,7 @@ static int edbm_bevel_modal(bContext *C, wmOperator *op, const wmEvent *event)
switch (event->val) {
case BEV_MODAL_CANCEL:
edbm_bevel_cancel(C, op);
+ ED_workspace_status_text(C, NULL);
return OPERATOR_CANCELLED;
case BEV_MODAL_CONFIRM:
@@ -615,6 +616,7 @@ static int edbm_bevel_modal(bContext *C, wmOperator *op, const wmEvent *event)
{
edbm_bevel_calc(op);
edbm_bevel_exit(C, op);
+ ED_workspace_status_text(C, NULL);
return OPERATOR_FINISHED;
}
break;