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-10-26 23:21:22 +0300
committerCian Jinks <cjinks99@gmail.com>2021-10-26 23:21:22 +0300
commitb37caa3f06440c3dd36c749950e50becfbddf2e8 (patch)
tree798a58d96a9632bedbc864845bee6b295ba0c0d0 /source/blender/editors
parent71fd0f7b7b0a136511949e25a185d90f5738749e (diff)
Fix: Knife unused function warning
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/mesh/editmesh_knife.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/mesh/editmesh_knife.c b/source/blender/editors/mesh/editmesh_knife.c
index 826a9ce2b6b..49afe90af91 100644
--- a/source/blender/editors/mesh/editmesh_knife.c
+++ b/source/blender/editors/mesh/editmesh_knife.c
@@ -1460,6 +1460,8 @@ static void knife_input_ray_segment(KnifeTool_OpData *kcd,
ED_view3d_unproject_v3(kcd->vc.region, mval[0], mval[1], ofs, r_origin_ofs);
}
+/* No longer used, but may be useful in the future. */
+#if 0
static void knifetool_recast_cageco(KnifeTool_OpData *kcd, float mval[3], float r_cage[3])
{
float origin[3];
@@ -1474,6 +1476,7 @@ static void knifetool_recast_cageco(KnifeTool_OpData *kcd, float mval[3], float
knife_bvh_raycast(kcd, origin, ray_normal, 0.0f, NULL, co, r_cage, NULL);
}
+#endif
static bool knife_verts_edge_in_face(KnifeVert *v1, KnifeVert *v2, BMFace *f)
{