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>2012-10-06 07:34:52 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-10-06 07:34:52 +0400
commitb26ccf0aff3ab8871923ade7993b8f8d3a3f75f5 (patch)
treee1e2a2545447900b029f2104b91d507fb57cba50 /source/blender/editors/mesh
parent6a164c7f72e679985e78f92b635426db73a93022 (diff)
toggle cut through in the knife tool now refreshes (before you had to wave the mouse about to see the result).
also remove print from last commit.
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r--source/blender/editors/mesh/editmesh_knife.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/mesh/editmesh_knife.c b/source/blender/editors/mesh/editmesh_knife.c
index 969f185810e..4f4fc27582c 100644
--- a/source/blender/editors/mesh/editmesh_knife.c
+++ b/source/blender/editors/mesh/editmesh_knife.c
@@ -3130,6 +3130,7 @@ static int knifetool_modal(bContext *C, wmOperator *op, wmEvent *event)
break;
case KNF_MODAL_CUT_THROUGH_TOGGLE:
kcd->cut_through = !kcd->cut_through;
+ knifetool_update_mval(kcd, event->mval); /* refresh knife path */
knife_update_header(C, kcd);
break;
case KNF_MODAL_NEW_CUT: