Resize view before setting camera when saving images from the command line.

This commit is contained in:
Leonardo Zide
2021-01-01 12:14:30 -08:00
parent 6c06e329e6
commit 2e2b1f0bb5
+3
View File
@@ -807,6 +807,9 @@ lcStartupMode lcApplication::Initialize(QList<QPair<QString, bool>>& LibraryPath
lcView* ActiveView = gMainWindow->GetActiveView();
if (SaveImage)
ActiveView->SetSize(ImageWidth, ImageHeight);
if (!CameraName.isEmpty())
{
ActiveView->SetCamera(CameraName);