Skip to content
Permalink
Browse files

Fix range of date time values for animation export dialog

  • Loading branch information
github-actions authored and nyalldawson committed Aug 21, 2020
1 parent b05aa10 commit 1ce3875163c58d9fa5a98652636a66d28b37e5cc
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/app/qgsanimationexportdialog.cpp
@@ -31,6 +31,9 @@ QgsAnimationExportDialog::QgsAnimationExportDialog( QWidget *parent, QgsMapCanva
{
setupUi( this );

mStartDateTime->setDateTimeRange( QDateTime( QDate( 1, 1, 1 ) ), mStartDateTime->maximumDateTime() );
mEndDateTime->setDateTimeRange( QDateTime( QDate( 1, 1, 1 ) ), mStartDateTime->maximumDateTime() );

// Use unrotated visible extent to insure output size and scale matches canvas
QgsMapSettings ms = mMapCanvas->mapSettings();
ms.setRotation( 0 );

0 comments on commit 1ce3875

Please sign in to comment.
You can’t perform that action at this time.