Fix knife tool missing refresh changing the lock axes

This commit is contained in:
Campbell Barton 2021-09-27 14:40:07 +10:00
parent 10a26d583d
commit ddb0dc2527
1 changed files with 2 additions and 0 deletions

View File

@ -4672,6 +4672,8 @@ static int knifetool_modal(bContext *C, wmOperator *op, const wmEvent *event)
kcd->axis_constrained = (kcd->constrain_axis != KNF_CONSTRAIN_AXIS_NONE);
knifetool_disable_angle_snapping(kcd);
knife_update_header(C, op, kcd);
ED_region_tag_redraw(kcd->region);
do_refresh = true;
}
}