]> git.mxchange.org Git - flightgear.git/commitdiff
Increased FG_MAX_NODES to 4000
authorcurt <curt>
Thu, 23 Nov 2000 15:48:21 +0000 (15:48 +0000)
committercurt <curt>
Thu, 23 Nov 2000 15:48:21 +0000 (15:48 +0000)
src/Objects/obj.cxx
src/Objects/obj.hxx

index 2d94dab7e00e874c02337d37bc7d07490c1980ec..efac3bbff6102bf935edbfb00834f13daa60738b 100644 (file)
@@ -383,7 +383,8 @@ ssgBranch *fgObjLoad( const string& path, FGTileEntry *t, const bool is_base) {
                    // sanity check
                    if ( (int)nodes.size() != vncount ) {
                        FG_LOG( FG_TERRAIN, FG_ALERT, 
-                               "Tile has mismatched nodes and normals: " 
+                               "Tile has mismatched nodes = " << nodes.size()
+                               << " and normals = " << vncount << " : " 
                                << path );
                        // exit(-1);
                    }
index 28898f6118ffdb0229e65913aa08355f8721fce4..b584c4b06fd05f6a3de620e2122459ca0a129685 100644 (file)
@@ -52,7 +52,7 @@ FG_USING_STD(string);
 
 
 // duplicated from the TerraGear tools
-#define FG_MAX_NODES 2000
+#define FG_MAX_NODES 4000
 
 
 // Load a .obj file