diff options
author | Cian Jinks <cjinks99@gmail.com> | 2021-08-03 16:23:22 +0300 |
---|---|---|
committer | Cian Jinks <cjinks99@gmail.com> | 2021-08-03 16:23:22 +0300 |
commit | ab1b587119d0865e01781fe8ecbab88559d8b594 (patch) | |
tree | 035581068520e8012e54ddbd3e75c069f5f5e41f | |
parent | 22d2a747fb6d8d94e69c93c5e5656770794ea3c3 (diff) |
Cleanup: Added clarifying comment
-rw-r--r-- | source/blender/editors/mesh/editmesh_knife.c | 1 |
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 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); |