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>2021-09-27 07:40:07 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-09-27 09:28:01 +0300
commitddb0dc252777d3af1e80d6767b0e35f326d34df6 (patch)
tree2e903d84295d7e97ab823e923e3833068bfa1985 /source/blender/editors/mesh/editmesh_knife.c
parent10a26d583d34bf9ca293ca698ee1612d335a66b8 (diff)
Fix knife tool missing refresh changing the lock axes
Diffstat (limited to 'source/blender/editors/mesh/editmesh_knife.c')
-rw-r--r--source/blender/editors/mesh/editmesh_knife.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/mesh/editmesh_knife.c b/source/blender/editors/mesh/editmesh_knife.c
index 341119270c2..eaecda28287 100644
--- a/source/blender/editors/mesh/editmesh_knife.c
+++ b/source/blender/editors/mesh/editmesh_knife.c
@@ -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;
}
}