From: curt Date: Thu, 23 Nov 2000 15:48:21 +0000 (+0000) Subject: Increased FG_MAX_NODES to 4000 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b1fbb16b9d282fa85b99f2beda3e885b8939cc8f;p=flightgear.git Increased FG_MAX_NODES to 4000 --- diff --git a/src/Objects/obj.cxx b/src/Objects/obj.cxx index 2d94dab7e..efac3bbff 100644 --- a/src/Objects/obj.cxx +++ b/src/Objects/obj.cxx @@ -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); } diff --git a/src/Objects/obj.hxx b/src/Objects/obj.hxx index 28898f611..b584c4b06 100644 --- a/src/Objects/obj.hxx +++ b/src/Objects/obj.hxx @@ -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