fix [#37030] Loop Cut and Slide doesn't clear header text if you click a blank area
This commit is contained in:
parent
830974bc1e
commit
ecc5eb59c6
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue