]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/bsp.c
Merge commit 'c5a6237a2b002c9811719172931b0c9cc5a725f4' into master-merge
[xonotic/netradiant.git] / tools / quake3 / q3map2 / bsp.c
index 0f62ba14bf5e14124db5312ae6197c5a414ce171..7e504a6a2f8fee3bba0f43d6a84622989716a2fc 100644 (file)
@@ -637,6 +637,8 @@ void ProcessModels( const char *portalFilePath, const char *lineFilePath ){
        /* restore -v setting */
        verbose = oldVerbose;
 
+       Sys_FPrintf( SYS_VRB, "%9i bspModels in total\n", numBSPModels );
+
        /* write fogs */
        EmitFogs();
 
@@ -991,9 +993,10 @@ int BSPMain( int argc, char **argv ){
                        Sys_Printf( "Debug model clip enabled\n" );
                        debugClip = qtrue;
                }
-               else if ( !strcmp( argv[ i ], "-snapmodelclip" ) ) {
-                       Sys_Printf( "Snapping model clip enabled\n" );
-                       snapModelClip = qtrue;
+               else if ( !strcmp( argv[ i ],  "-clipdepth" ) ) {
+                       clipDepthGlobal = atof( argv[ i + 1 ] );
+                       i++;
+                       Sys_Printf( "Model autoclip thickness set to %.3f\n", clipDepthGlobal );
                }
                else if ( !strcmp( argv[ i ], "-sRGBtex" ) ) {
                        texturesRGB = qtrue;