diff options
author | vng <viktor.govako@gmail.com> | 2012-09-20 14:16:28 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:43:27 +0300 |
commit | 2eaf3625af6a7e3b4e4c26b1ec56479c45205135 (patch) | |
tree | 03d59fcec2ba2925a4d3b7b0534f214c79afd8d9 /indexer | |
parent | 5f83095b9df4f2c421d5b2b8f5f101e8a8ec1652 (diff) |
Fix generator error with types skipping.
Diffstat (limited to 'indexer')
-rw-r--r-- | indexer/feature_data.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indexer/feature_data.hpp b/indexer/feature_data.hpp index 31894a5c86..ffbe1fec9d 100644 --- a/indexer/feature_data.hpp +++ b/indexer/feature_data.hpp @@ -196,6 +196,14 @@ public: m_geomTypes[0] = m_geomTypes[1] = m_geomTypes[2] = false; } + /// Assign parameters except geometry type. + /// Geometry is independent state and it's set by FeatureType's geometry functions. + inline void SetParams(FeatureParams const & rhs) + { + BaseT::operator=(rhs); + m_Types = rhs.m_Types; + } + inline bool IsValid() const { return !m_Types.empty(); } inline void SetGeomType(feature::EGeomType t) { m_geomTypes[t] = true; } |