forked from organicmaps/organicmaps
Review fix.
This commit is contained in:
parent
86f5ffd371
commit
982d26fcc1
1 changed files with 7 additions and 4 deletions
|
@ -134,10 +134,13 @@ void RuleDrawer::operator()(FeatureType const & f)
|
|||
|
||||
if (s.AreaStyleExists())
|
||||
{
|
||||
bool const is3dBuilding =
|
||||
m_is3dBuidings ? ((ftypes::IsBuildingChecker::Instance()(f) ||
|
||||
ftypes::IsBuildingPartChecker::Instance()(f)) && f.GetLayer() >= 0)
|
||||
: false;
|
||||
bool is3dBuilding = false;
|
||||
if (m_is3dBuidings && f.GetLayer() >= 0)
|
||||
{
|
||||
is3dBuilding = (ftypes::IsBuildingChecker::Instance()(f) || ftypes::IsBuildingPartChecker::Instance()(f)) &&
|
||||
!ftypes::IsBridgeChecker::Instance()(f) &&
|
||||
!ftypes::IsTunnelChecker::Instance()(f);
|
||||
}
|
||||
|
||||
float areaHeight = 0.0f;
|
||||
float areaMinHeight = 0.0f;
|
||||
|
|
Loading…
Add table
Reference in a new issue