Incorrect assert removed.

This commit is contained in:
Daria Volvenkova 2016-07-11 13:04:19 +03:00
parent 66da285f02
commit be9c3ab88e

View file

@ -314,9 +314,6 @@ bool UserEventStream::SetCenter(m2::PointD const & center, int zoom, bool isAnim
screen.MatchGandP3d(center, screen.PixelRectIn3d().Center());
}
ASSERT_GREATER_OR_EQUAL(zoom, scales::GetUpperWorldScale(), ());
ASSERT_LESS_OR_EQUAL(zoom, scales::GetUpperStyleScale(), ());
ShrinkAndScaleInto(screen, df::GetWorldRect());
return SetScreen(screen, isAnim);