Increased FG_MAX_NODES to 4000
This commit is contained in:
parent
3593f3782d
commit
b1fbb16b9d
2 changed files with 3 additions and 2 deletions
|
@ -383,7 +383,8 @@ ssgBranch *fgObjLoad( const string& path, FGTileEntry *t, const bool is_base) {
|
||||||
// sanity check
|
// sanity check
|
||||||
if ( (int)nodes.size() != vncount ) {
|
if ( (int)nodes.size() != vncount ) {
|
||||||
FG_LOG( FG_TERRAIN, FG_ALERT,
|
FG_LOG( FG_TERRAIN, FG_ALERT,
|
||||||
"Tile has mismatched nodes and normals: "
|
"Tile has mismatched nodes = " << nodes.size()
|
||||||
|
<< " and normals = " << vncount << " : "
|
||||||
<< path );
|
<< path );
|
||||||
// exit(-1);
|
// exit(-1);
|
||||||
}
|
}
|
||||||
|
|
|
@ -52,7 +52,7 @@ FG_USING_STD(string);
|
||||||
|
|
||||||
|
|
||||||
// duplicated from the TerraGear tools
|
// duplicated from the TerraGear tools
|
||||||
#define FG_MAX_NODES 2000
|
#define FG_MAX_NODES 4000
|
||||||
|
|
||||||
|
|
||||||
// Load a .obj file
|
// Load a .obj file
|
||||||
|
|
Loading…
Add table
Reference in a new issue