fix -rawlightmapsizelimit
git-svn-id: svn://svn.icculus.org/netradiant/trunk@373 61c419a2-8eb2-4b30-bcec-8cead039b335
This commit is contained in:
parent
25b38e8a0e
commit
bd6c5c2da0
|
|
@ -678,7 +678,7 @@ qboolean AddSurfaceToRawLightmap( int num, rawLightmap_t *lm )
|
|||
size[ i ] = (maxs[ i ] - mins[ i ]) / sampleSize + 1.0f;
|
||||
|
||||
/* hack (god this sucks) */
|
||||
if( size[ i ] > lm->customWidth || size[ i ] > lm->customHeight || size[i] > lmLimitSize)
|
||||
if( size[ i ] > lm->customWidth || size[ i ] > lm->customHeight || (lmLimitSize && size[i] > lmLimitSize))
|
||||
{
|
||||
i = -1;
|
||||
sampleSize += 1.0f;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user