From f7dc91f9c3ef6f523c1e96d2a54d624ebc930c48 Mon Sep 17 00:00:00 2001 From: Yash Suthar Date: Mon, 8 Dec 2025 21:37:00 +0530 Subject: [PATCH] Core: fix "Save Image" giving dark area as compare to viewport Signed-off-by: Yash Suthar --- src/Gui/View3DInventorViewer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Gui/View3DInventorViewer.cpp b/src/Gui/View3DInventorViewer.cpp index 62368359b7..bca3637368 100644 --- a/src/Gui/View3DInventorViewer.cpp +++ b/src/Gui/View3DInventorViewer.cpp @@ -1776,6 +1776,8 @@ void View3DInventorViewer::savePicture(int width, int height, int sample, const } root->addChild(getHeadlight()); + root->addChild(getBacklight()); + root->addChild(getFillLight()); root->addChild(camera); auto gl = new SoCallback; gl->setCallback(setGLWidgetCB, this->getGLWidget());