diff options
author | Ton Roosendaal <ton@blender.org> | 2011-01-01 20:52:06 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2011-01-01 20:52:06 +0300 |
commit | 373524815a6665ba390c7c8b0410408fd81b4b8d (patch) | |
tree | fa5befa2479ef18cb5e257a39622f753c835e268 /source/blender | |
parent | 21eb65c450daad399ebbf29986ff6042126e0f09 (diff) |
Bugfix #25445
CTRL+R loopcut now shows header print with instructions.
User report was that Blender was freezing :)
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/mesh/loopcut.c | 5 |
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); } |