From 78169147bb310663c0cf1fae56900944b7900384 Mon Sep 17 00:00:00 2001 From: vng Date: Tue, 21 Feb 2012 20:25:05 +0300 Subject: Add named constants for feature geometry getting. --- generator/statistics.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'generator/statistics.cpp') diff --git a/generator/statistics.cpp b/generator/statistics.cpp index 919c669460..ddd9684625 100644 --- a/generator/statistics.cpp +++ b/generator/statistics.cpp @@ -86,9 +86,9 @@ namespace stats m_info.m_inner[1].Add(innerStats.m_Strips); m_info.m_inner[2].Add(innerStats.m_Size); - // get geometry size for the best geometry (-1) - FeatureType::geom_stat_t const geom = f.GetGeometrySize(-1); - FeatureType::geom_stat_t const trg = f.GetTrianglesSize(-1); + // get geometry size for the best geometry + FeatureType::geom_stat_t const geom = f.GetGeometrySize(FeatureType::BEST_GEOMETRY); + FeatureType::geom_stat_t const trg = f.GetTrianglesSize(FeatureType::BEST_GEOMETRY); m_info.AddToSet(geom.m_count, geom.m_size, m_info.m_byPointsCount); m_info.AddToSet(trg.m_count / 3, trg.m_size, m_info.m_byTrgCount); -- cgit v1.2.3