Raycounters fix

This commit is contained in:
2009-09-28 10:25:12 +00:00
parent 1305715d2d
commit 82198721d6
4 changed files with 16 additions and 15 deletions

View File

@@ -189,6 +189,7 @@ static int intersect_rayface(RayObject *hit_obj, RayFace *face, Isect *is)
if(is->orig.ob == face->ob && is->orig.face == face->face)
return 0;
/*
if(is->skip & RE_SKIP_VLR_RENDER_CHECK)
{
if(vlr_check_intersect(is, (ObjectInstanceRen*)face->ob, (VlakRen*)face->face ) == 0)
@@ -204,7 +205,7 @@ static int intersect_rayface(RayObject *hit_obj, RayFace *face, Isect *is)
if(rayface_check_cullface(face, is) == 0)
return 0;
}
*/
RE_RC_COUNT(is->raycounter->faces.test);
//Load coords