diff --git a/indexer/feature.hpp b/indexer/feature.hpp index 053069c070..9a5d2d9a64 100644 --- a/indexer/feature.hpp +++ b/indexer/feature.hpp @@ -424,9 +424,13 @@ private: void ParseAll(int scale) const; - mutable buffer_vector m_InnerPoints; + // For better result this value should be greater than 17 + // (number of points in inner triangle-strips). + static const size_t static_buffer = 32; - typedef buffer_vector points_t; + mutable buffer_vector m_InnerPoints; + + typedef buffer_vector points_t; mutable points_t m_Points, m_Triangles; FilesContainerR * m_cont;