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:
authorTon Roosendaal <ton@blender.org>2011-01-01 20:52:06 +0300
committerTon Roosendaal <ton@blender.org>2011-01-01 20:52:06 +0300
commit373524815a6665ba390c7c8b0410408fd81b4b8d (patch)
treefa5befa2479ef18cb5e257a39622f753c835e268 /source/blender/editors/mesh
parent21eb65c450daad399ebbf29986ff6042126e0f09 (diff)
Bugfix #25445
CTRL+R loopcut now shows header print with instructions. User report was that Blender was freezing :)
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r--source/blender/editors/mesh/loopcut.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/loopcut.c b/source/blender/editors/mesh/loopcut.c
index e808b64aaeb..480f42f2973 100644
--- a/source/blender/editors/mesh/loopcut.c
+++ b/source/blender/editors/mesh/loopcut.c
@@ -408,7 +408,8 @@ static int ringcut_invoke (bContext *C, wmOperator *op, wmEvent *evt)
lcd->eed = edge;
ringsel_find_edge(lcd, 1);
}
-
+ ED_area_headerprint(CTX_wm_area(C), "Select a ring to be cut, use mouse-wheel or page-up/down for number of cuts");
+
return OPERATOR_RUNNING_MODAL;
}
@@ -428,6 +429,7 @@ static int ringcut_modal (bContext *C, wmOperator *op, wmEvent *event)
ringsel_finish(C, op);
ringsel_exit(op);
+ ED_area_headerprint(CTX_wm_area(C), NULL);
return OPERATOR_FINISHED;
}
@@ -439,6 +441,7 @@ static int ringcut_modal (bContext *C, wmOperator *op, wmEvent *event)
if (event->val == KM_RELEASE) {
/* cancel */
ED_region_tag_redraw(lcd->ar);
+ ED_area_headerprint(CTX_wm_area(C), NULL);
return ringcut_cancel(C, op);
}