Revert lighting "cleanup" for now.
The osgViewer headlight appears to be critical for enabling lighting.
This commit is contained in:
parent
e0a779adb1
commit
28d221cd7c
1 changed files with 0 additions and 1 deletions
|
@ -147,7 +147,6 @@ void fgOSOpenWindow(bool stencil)
|
||||||
viewer->setSceneData(new osg::Group);
|
viewer->setSceneData(new osg::Group);
|
||||||
globals->get_renderer()->setViewer(viewer.get());
|
globals->get_renderer()->setViewer(viewer.get());
|
||||||
CameraGroup::setDefault(cameraGroup);
|
CameraGroup::setDefault(cameraGroup);
|
||||||
viewer->setLightingMode(View::NO_LIGHT);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int status = 0;
|
static int status = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue