[Bf-blender-cvs] [ab1b587119d] soc-2021-knife-tools: Cleanup: Added clarifying comment
Cian Jinks
noreply at git.blender.org
Tue Aug 3 15:23:42 CEST 2021
Commit: ab1b587119d0865e01781fe8ecbab88559d8b594
Author: Cian Jinks
Date: Tue Aug 3 14:23:22 2021 +0100
Branches: soc-2021-knife-tools
https://developer.blender.org/rBab1b587119d0865e01781fe8ecbab88559d8b594
Cleanup: Added clarifying comment
===================================================================
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 26d627cf0b6..6d89063491f 100644
--- a/source/blender/editors/mesh/editmesh_knife.c
+++ b/source/blender/editors/mesh/editmesh_knife.c
@@ -438,6 +438,7 @@ static void knifetool_draw_orientation_locking(const KnifeTool_OpData *kcd)
if (!compare_v3v3(kcd->prev.cage, kcd->curr.cage, KNIFE_FLT_EPSBIG)) {
float v1[3], v2[3];
+ /* This is causing buggyness when prev.cage and curr.cage are too close together. */
knifetool_raycast_planes(kcd, v1, v2);
uint pos = GPU_vertformat_attr_add(immVertexFormat(), "pos", GPU_COMP_F32, 3, GPU_FETCH_FLOAT);
More information about the Bf-blender-cvs
mailing list