diff --git a/src/Gui/View3DInventorViewer.cpp b/src/Gui/View3DInventorViewer.cpp index dbad00912..7309cdfba 100644 --- a/src/Gui/View3DInventorViewer.cpp +++ b/src/Gui/View3DInventorViewer.cpp @@ -871,6 +871,9 @@ void View3DInventorViewer::savePicture(int w, int h, const QColor& bg, QImage& i // SoQtOffscreenRenderer won't work. In this case we try to use // Coin's implementation of the off-screen rendering. bool useCoinOffscreenRenderer = !QGLPixelBuffer::hasOpenGLPbuffers(); + useCoinOffscreenRenderer = App::GetApplication().GetParameterGroupByPath + ("User parameter:BaseApp/Preferences/Document")-> + GetBool("CoinOffscreenRenderer", useCoinOffscreenRenderer); // if no valid color use the current background bool useBackground = false;