[skip ci] scale grabbed image to defined width

This commit is contained in:
wmayer
2019-12-27 21:00:34 +01:00
parent 674952d0aa
commit 7f720e9318

View File

@@ -1504,6 +1504,7 @@ void View3DInventorViewer::savePicture(int w, int h, int s, const QColor& bg, QI
View3DInventorViewer* self = const_cast<View3DInventorViewer*>(this);
img = self->grabFramebuffer();
img = img.mirrored();
img = img.scaledToWidth(w);
return;
}