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:
authorCian Jinks <cjinks99@gmail.com>2021-08-03 16:23:22 +0300
committerCian Jinks <cjinks99@gmail.com>2021-08-03 16:23:22 +0300
commitab1b587119d0865e01781fe8ecbab88559d8b594 (patch)
tree035581068520e8012e54ddbd3e75c069f5f5e41f /source/blender/editors/mesh/editmesh_knife.c
parent22d2a747fb6d8d94e69c93c5e5656770794ea3c3 (diff)
Cleanup: Added clarifying comment
Diffstat (limited to 'source/blender/editors/mesh/editmesh_knife.c')
-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 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);