Core: fix "Save Image" giving dark area as compare to viewport

Signed-off-by: Yash Suthar <[email protected]>
(cherry picked from commit 8413922e52)
This commit is contained in:
Yash Suthar
2025-12-14 14:51:01 +01:00
committed by Max Wilfinger
parent 1387e274f2
commit f16e9f69e5
+2
View File
@@ -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());