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

Signed-off-by: Yash Suthar <yashsuthar983@gmail.com>
This commit is contained in:
Yash Suthar
2025-12-08 21:37:00 +05:30
committed by Kacper Donat
parent 317b6589aa
commit f7dc91f9c3

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());