Resize view before setting camera when saving images from the command line.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user