*Bug fix on finding hit on neighbour face (think this is the last know bug)
This bug fix makes the "non-smoothed" faces appear again (just like they do in 2.49 and blender2.5) Meaning the "detect neighbour faces" isn't working 100%.
This commit is contained in:
@@ -306,7 +306,7 @@ static int intersect_rayface(RayFace *face, Isect *is)
|
||||
|| a->v1==b->v2 || a->v2==b->v2 || a->v3==b->v2 || a->v4==b->v2
|
||||
|| a->v1==b->v3 || a->v2==b->v3 || a->v3==b->v3 || a->v4==b->v3
|
||||
|| (b->v4 && (a->v1==b->v4 || a->v2==b->v4 || a->v3==b->v4 || a->v4==b->v4)))
|
||||
if(intersection2((VlakRen*)b, -r0, -r1, -r2, is->start[0], is->start[1], is->start[2]))
|
||||
if(!intersection2((VlakRen*)a, -r0, -r1, -r2, is->start[0], is->start[1], is->start[2]))
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user