Commit: 67d2d175ebab231f8ed87732193f7d043f13a5b6 Author: Cian Jinks Date: Tue Jun 15 12:04:12 2021 +0100 Branches: soc-2021-knife-tools https://developer.blender.org/rB67d2d175ebab231f8ed87732193f7d043f13a5b6
Cleanup: Unecessary comments =================================================================== 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 4a26e4b7e42..36d70c20746 100644 --- a/source/blender/editors/mesh/editmesh_knife.c +++ b/source/blender/editors/mesh/editmesh_knife.c @@ -2676,7 +2676,7 @@ static void knife_constrain_axis(bContext *C, KnifeTool_OpData *kcd) mul_m3_m3_pre(co, mat); for (int i = 0; i <= 2; i++) { if ((kcd->constrain_axis - 1) != i) { - /* kcd->curr_cage_adjusted[i] = kcd->prev_cage_adjusted[i]; */ + /* kcd->curr_cage_adjusted[i] = prev_cage_adjusted[i]; */ co[2][i] = co[0][i]; } } @@ -2685,7 +2685,6 @@ static void knife_constrain_axis(bContext *C, KnifeTool_OpData *kcd) copy_v3_v3(prev_cage_adjusted, co[0]); copy_v3_v3(kcd->curr_cage_adjusted, co[2]); - /* Maybe delete!!! */ mul_m4_v3(kcd->ob_imat, kcd->curr_cage_adjusted); /* Set mval to closest point on constrained line in screen space */ _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs