1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-19 20:53:52 +00:00

Fix rebase issue

This commit is contained in:
AnyOldName3 2021-08-08 17:25:57 +01:00
parent cf15803e67
commit 8d93748f87

View file

@ -70,6 +70,7 @@ void DebugDrawer::createGeometry()
osg::ref_ptr<osg::Material> material = new osg::Material;
material->setColorMode(osg::Material::AMBIENT_AND_DIFFUSE);
stateSet->setAttribute(material);
mLinesGeometry->setStateSet(stateSet);
mTrisGeometry->setStateSet(stateSet);
mShapesRoot = new osg::Group;
mShapesRoot->setStateSet(stateSet);