From 95e11b9d50df2f5bde6df6a66916bdda502b28f1 Mon Sep 17 00:00:00 2001 From: "r.kuznetsov" Date: Tue, 29 Nov 2016 10:41:26 +0300 Subject: [PATCH] Fixed false assertion --- drape_frontend/area_shape.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drape_frontend/area_shape.cpp b/drape_frontend/area_shape.cpp index b04b9c446e..17cfafbd80 100644 --- a/drape_frontend/area_shape.cpp +++ b/drape_frontend/area_shape.cpp @@ -96,7 +96,7 @@ void AreaShape::DrawArea(ref_ptr batcher, m2::PointD const & colorU void AreaShape::DrawArea3D(ref_ptr batcher, m2::PointD const & colorUv, m2::PointD const & outlineUv, ref_ptr texture) const { - ASSERT(m_buildingOutline.m_generateOutline && !m_buildingOutline.m_indices.empty(), ()); + ASSERT(!m_buildingOutline.m_indices.empty(), ()); ASSERT(!m_buildingOutline.m_normals.empty(), ()); glsl::vec2 const uv = glsl::ToVec2(colorUv);