Don't waste space with too huge stl containers.
Modified Files: simgear/scene/bvh/BVHStaticGeometryBuilder.hxx
This commit is contained in:
@@ -117,6 +117,7 @@ public:
|
||||
const BVHStaticNode* tree = buildTreeRecursive(_leafRefList);
|
||||
if (!tree)
|
||||
return 0;
|
||||
_staticData->trim();
|
||||
return new BVHStaticGeometry(tree, _staticData);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user