Merge pull request #385 from illwieckz/importfixes

import a q3map2 fix from netradiant
This commit is contained in:
Timothee "TTimo" Besset 2016-10-15 20:34:13 -05:00 committed by GitHub
commit e933f41d07

View file

@ -778,7 +778,7 @@ int BSPMain( int argc, char **argv ){
else if ( !strcmp( argv[ i ], "-np" ) ) { else if ( !strcmp( argv[ i ], "-np" ) ) {
npDegrees = atof( argv[ i + 1 ] ); npDegrees = atof( argv[ i + 1 ] );
if ( npDegrees < 0.0f ) { if ( npDegrees < 0.0f ) {
shadeAngleDegrees = 0.0f; npDegrees = 0.0f;
} }
else if ( npDegrees > 0.0f ) { else if ( npDegrees > 0.0f ) {
Sys_Printf( "Forcing nonplanar surfaces with a breaking angle of %f degrees\n", npDegrees ); Sys_Printf( "Forcing nonplanar surfaces with a breaking angle of %f degrees\n", npDegrees );