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); }