Skip to content

Commit

Permalink
fix temporal renderer context from map settings
Browse files Browse the repository at this point in the history
  • Loading branch information
vcloarec authored and nyalldawson committed Apr 16, 2020
1 parent dd9fec7 commit cac80de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/qgsrendercontext.cpp
Expand Up @@ -204,7 +204,8 @@ QgsRenderContext QgsRenderContext::fromMapSettings( const QgsMapSettings &mapSet
ctx.setRenderingStopped( false );
ctx.mCustomRenderingFlags = mapSettings.customRenderingFlags();
ctx.setIsTemporal( mapSettings.isTemporal() );
ctx.setTemporalRange( mapSettings.temporalRange() );
if ( ctx.isTemporal() )
ctx.setTemporalRange( mapSettings.temporalRange() );

return ctx;
}
Expand Down

0 comments on commit cac80de

Please sign in to comment.