Core: fix "Save Image" giving dark area as compare to viewport
Signed-off-by: Yash Suthar <yashsuthar983@gmail.com>
This commit is contained in:
committed by
Kacper Donat
parent
bf697ca710
commit
8413922e52
@@ -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