Again some fixes

This commit is contained in:
jriegel
2013-07-10 07:54:26 +02:00
parent 3f7f010041
commit c77d2c688e
4 changed files with 8 additions and 2 deletions

View File

@@ -178,6 +178,10 @@ View3DInventorViewer::View3DInventorViewer (QWidget *parent, const char *name,
pShapeHints->ref();
this->backgroundroot->addChild(pShapeHints);
SoLightModel* pcLightModel = new SoLightModel();
pcLightModel->model = SoLightModel::PHONG;
this->backgroundroot->addChild(pcLightModel);
// Background stuff
pcBackGround = new SoFCBackgroundGradient;