Skip to content

Commit b34b0a2

Browse files
ncuxonaTSNMetamorph
authored andcommitted
utils: pxrad: studiomodels cast shadows on radiosity patches
1 parent 982ed33 commit b34b0a2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

utils/pxrad/qrad.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2149,8 +2149,7 @@ static void MakeTransfers( int threadnum )
21492149
if( DotProduct( origin1, plane2->normal ) <= PatchPlaneDist( patch2 ) + MINIMUM_PATCH_DISTANCE )
21502150
continue;
21512151

2152-
// we ignore models here, brushes only
2153-
if( TestLine( threadnum, origin1, origin2, true ) != CONTENTS_EMPTY )
2152+
if( TestLine( threadnum, origin1, origin2, false ) != CONTENTS_EMPTY )
21542153
continue;
21552154

21562155
vispatches[count] = patch2;

0 commit comments

Comments
 (0)