Merge branch 'master' of git://git.xonotic.org/xonotic/netradiant

This commit is contained in:
Rudolf Polzer
2011-02-22 20:09:54 +01:00

View File

@@ -1861,7 +1861,10 @@ static void SubsampleRawLuxel_r( rawLightmap_t *lm, trace_t *trace, vec3_t sampl
//% VectorClear( color );
//% samples = 0;
VectorCopy( lightLuxel, color );
VectorCopy( lightDeluxel, direction );
if(lightDeluxel)
{
VectorCopy( lightDeluxel, direction );
}
samples = 1;
for( b = 0; b < 4; b++ )
{