Fix T98445: Knife Tool always cuts through
Minor error in if condition used for early return. Ref D15050
This commit is contained in:
committed by
Campbell Barton
parent
ec8365b9ed
commit
a8471459fd
@@ -1310,7 +1310,7 @@ static void knife_bvh_raycast_cb(void *userdata,
|
||||
const BVHTreeRay *ray,
|
||||
BVHTreeRayHit *hit)
|
||||
{
|
||||
if (index != -1) {
|
||||
if (index == -1) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user