Skip to content
Permalink
Browse files

Fix range of date time values for animation export dialog

Fixes #38384
  • Loading branch information
nyalldawson committed Aug 21, 2020
1 parent 500251f commit 7824c4c231f7bcb0cc95a9714e16a7fb9c5fd0fa
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 7824c4c

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