diff options
Diffstat (limited to 'map/render_policy.cpp')
-rw-r--r-- | map/render_policy.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/map/render_policy.cpp b/map/render_policy.cpp index ce82e3616b..9105860d30 100644 --- a/map/render_policy.cpp +++ b/map/render_policy.cpp @@ -112,12 +112,15 @@ void RenderPolicy::StopRotate(double a, double) void RenderPolicy::BeginFrame(shared_ptr<PaintEvent> const & e, ScreenBase const & s) { + /// processing animations at the beginning of the frame. + /// it's crucial as in this function could happen transition from + /// animating to non-animating state which should be properly handled + /// in the following RenderPolicy::DrawFrame call. + m_controller->PerformStep(); } void RenderPolicy::EndFrame(shared_ptr<PaintEvent> const & e, ScreenBase const & s) { - /// processing animations at the end of the frame - m_controller->PerformStep(); } bool RenderPolicy::DoSupportRotation() const |