]> git.xonotic.org Git - xonotic/netradiant.git/commitdiff
Merge branch 'diffnoise' into 'master'
authorMario <zacjardine@y7mail.com>
Sun, 29 Apr 2018 12:31:33 +0000 (12:31 +0000)
committerMario <zacjardine@y7mail.com>
Sun, 29 Apr 2018 12:31:33 +0000 (12:31 +0000)
tools: reduce diff noise with GtkRadiant

See merge request xonotic/netradiant!82

1  2 
tools/quake3/q3map2/vis.c

index b6340473daea2945925fbb5cfb25a417239e0a6a,97d8b1f94a9926a00cc982652cb1dbcc5e6a23f0..98f208ab2149e3b2e76d12091de175451152b2c2
@@@ -163,7 -163,9 +163,9 @@@ int LeafVectorFromPortalVector( byte *p
     Merges the portal visibility for a leaf
     ===============
   */
  static int clustersizehistogram[MAX_MAP_LEAFS] = {0};
  void ClusterMerge( int leafnum ){
        leaf_t      *leaf;
        byte portalvector[MAX_PORTALS / 8];
@@@ -1168,7 -1170,7 +1170,7 @@@ int VisMain( int argc, char **argv )
        }
  
        if ( i != argc - 1 ) {
 -              Error( "usage: vis [-threads #] [-level 0-4] [-fast] [-v] BSPFilePath" );
 +              Error( "usage: vis [-threads #] [-fast] [-v] BSPFilePath" );
        }
  
  
                sprintf( portalFilePath, "%s%s", inbase, ExpandArg( argv[ i ] ) );
                StripExtension( portalFilePath );
                strcat( portalFilePath, ".prt" );
 -              Sys_Printf( "Loading %s\n", portalFilePath );
 -              LoadPortals( portalFilePath );
        }
 +      Sys_Printf( "Loading %s\n", portalFilePath );
 +      LoadPortals( portalFilePath );
  
        /* ydnar: exit if no portals, hence no vis */
        if ( numportals == 0 ) {