From 5cca022fbe856213c0fa6b2574ee3fe614c644e5 Mon Sep 17 00:00:00 2001 From: David Williams Date: Sat, 14 May 2011 12:17:20 +0100 Subject: [PATCH] ImprovedCubicSurfaceExtractor now removes unused vertices. --- library/PolyVoxCore/include/ImprovedCubicSurfaceExtractor.inl | 1 + 1 file changed, 1 insertion(+) diff --git a/library/PolyVoxCore/include/ImprovedCubicSurfaceExtractor.inl b/library/PolyVoxCore/include/ImprovedCubicSurfaceExtractor.inl index 00414083..403b2af9 100644 --- a/library/PolyVoxCore/include/ImprovedCubicSurfaceExtractor.inl +++ b/library/PolyVoxCore/include/ImprovedCubicSurfaceExtractor.inl @@ -232,6 +232,7 @@ namespace PolyVox } m_meshCurrent->m_Region = m_regSizeInVoxels; + m_meshCurrent->removeUnusedVertices(); m_meshCurrent->m_vecLodRecords.clear(); LodRecord lodRecord;