From b1fbb16b9d282fa85b99f2beda3e885b8939cc8f Mon Sep 17 00:00:00 2001
From: curt <curt>
Date: Thu, 23 Nov 2000 15:48:21 +0000
Subject: [PATCH] Increased FG_MAX_NODES to 4000

---
 src/Objects/obj.cxx | 3 ++-
 src/Objects/obj.hxx | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

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