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:
authorCampbell Barton <ideasman42@gmail.com>2013-10-11 01:04:39 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-10-11 01:04:39 +0400
commitecc5eb59c64ac8fd14ac3adc43d05499e88e81d9 (patch)
treebc4a45cef8e23da260620f7821a6d3cde281b8d9 /source/blender/editors/mesh
parent830974bc1e59c8e53c37c51f8bff0a0c34b245f7 (diff)
fix [#37030] Loop Cut and Slide doesn't clear header text if you click a blank area
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r--source/blender/editors/mesh/editmesh_loopcut.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/source/blender/editors/mesh/editmesh_loopcut.c b/source/blender/editors/mesh/editmesh_loopcut.c
index 892b773b1ba..ae1007cb98a 100644
--- a/source/blender/editors/mesh/editmesh_loopcut.c
+++ b/source/blender/editors/mesh/editmesh_loopcut.c
@@ -537,7 +537,8 @@ static int loopcut_modal(bContext *C, wmOperator *op, const wmEvent *event)
if (event->val == KM_PRESS) {
/* finish */
ED_region_tag_redraw(lcd->ar);
-
+ ED_area_headerprint(CTX_wm_area(C), NULL);
+
if (lcd->eed) {
/* set for redo */
BM_mesh_elem_index_ensure(lcd->em->bm, BM_EDGE);
@@ -550,9 +551,7 @@ static int loopcut_modal(bContext *C, wmOperator *op, const wmEvent *event)
else {
return ringcut_cancel(C, op);
}
-
- ED_area_headerprint(CTX_wm_area(C), NULL);
-
+
return OPERATOR_FINISHED;
}