better override lightSamplesInsist (-samples +1, +2, +3, +4 skip the samples preset loading)
This commit is contained in:
parent
91ea2ae81c
commit
4553078f35
|
|
@ -2258,6 +2258,8 @@ int LightMain( int argc, char **argv )
|
||||||
{
|
{
|
||||||
if(*argv[i+1] == '+')
|
if(*argv[i+1] == '+')
|
||||||
lightSamplesInsist = qtrue;
|
lightSamplesInsist = qtrue;
|
||||||
|
else
|
||||||
|
lightSamplesInsist = qfalse;
|
||||||
lightSamples = atoi( argv[ i + 1 ] );
|
lightSamples = atoi( argv[ i + 1 ] );
|
||||||
if( lightSamples < 1 )
|
if( lightSamples < 1 )
|
||||||
lightSamples = 1;
|
lightSamples = 1;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user