Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'geometry')
-rw-r--r--geometry/screenbase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/geometry/screenbase.cpp b/geometry/screenbase.cpp
index a6ee53227b..1bb0855914 100644
--- a/geometry/screenbase.cpp
+++ b/geometry/screenbase.cpp
@@ -398,7 +398,7 @@ void ScreenBase::ApplyPerspective(double currentRotationAngle, double maxRotatio
// orthogonal projection does and rotate the map plane around its near horizontal side.
void ScreenBase::SetRotationAngle(double rotationAngle)
{
- ASSERT(m_isPerspective, ());
+ ASSERT(rotationAngle == 0.0 || (rotationAngle > 0.0 && m_isPerspective), ());
ASSERT_GREATER_OR_EQUAL(rotationAngle, 0.0, ());
ASSERT_LESS_OR_EQUAL(rotationAngle, m_3dMaxAngleX, ());