From: frohlich Date: Sun, 1 Mar 2009 21:25:48 +0000 (+0000) Subject: Don't waste space with too huge stl containers. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=eabffece1f6f31766faf1940a57b1bed58cbb951;p=simgear.git Don't waste space with too huge stl containers. Modified Files: simgear/scene/bvh/BVHStaticGeometryBuilder.hxx --- diff --git a/simgear/scene/bvh/BVHStaticGeometryBuilder.hxx b/simgear/scene/bvh/BVHStaticGeometryBuilder.hxx index 88bfd8e4..f754c542 100644 --- a/simgear/scene/bvh/BVHStaticGeometryBuilder.hxx +++ b/simgear/scene/bvh/BVHStaticGeometryBuilder.hxx @@ -117,6 +117,7 @@ public: const BVHStaticNode* tree = buildTreeRecursive(_leafRefList); if (!tree) return 0; + _staticData->trim(); return new BVHStaticGeometry(tree, _staticData); }