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:
authorYiming Wu <xp8110@outlook.com>2022-06-02 06:21:07 +0300
committerYiming Wu <xp8110@outlook.com>2022-06-02 06:21:07 +0300
commite3363451667299b1cbc85b04bcec3f106e5dc216 (patch)
treea2b812327db8480ca703ffb97c9f402b984ec19c /source/blender/editors/mesh/editmesh_knife.c
parent90da8c5f4a8e1d8002b6e4d448f80833250289a3 (diff)
parent110c90b3cfc94daead190dfb9adbc4761e6960b8 (diff)
Merge remote-tracking branch 'origin/master' into temp-lineart-contained
Diffstat (limited to 'source/blender/editors/mesh/editmesh_knife.c')
-rw-r--r--source/blender/editors/mesh/editmesh_knife.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_knife.c b/source/blender/editors/mesh/editmesh_knife.c
index 7972459e457..5b3487b0a33 100644
--- a/source/blender/editors/mesh/editmesh_knife.c
+++ b/source/blender/editors/mesh/editmesh_knife.c
@@ -1310,7 +1310,7 @@ static void knife_bvh_raycast_cb(void *userdata,
const BVHTreeRay *ray,
BVHTreeRayHit *hit)
{
- if (index != -1) {
+ if (index == -1) {
return;
}