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:
committed by
Max Wilfinger
parent
1387e274f2
commit
f16e9f69e5
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user