Commit: ddb0dc252777d3af1e80d6767b0e35f326d34df6
Author: Campbell Barton
Date:   Mon Sep 27 14:40:07 2021 +1000
Branches: master
https://developer.blender.org/rBddb0dc252777d3af1e80d6767b0e35f326d34df6

Fix knife tool missing refresh changing the lock axes

===================================================================

M       source/blender/editors/mesh/editmesh_knife.c

===================================================================

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;
     }
   }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to