1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-06 00:55:50 +00:00
This commit is contained in:
scrawl 2015-04-26 14:34:14 +02:00
parent b4a06bd78d
commit 8971a200f7
2 changed files with 2 additions and 1 deletions

View File

@ -554,6 +554,7 @@ void SkyManager::create()
depth->setWriteMask(false);
mRootNode->getOrCreateStateSet()->setAttributeAndModes(depth, osg::StateAttribute::ON);
mRootNode->getOrCreateStateSet()->setMode(GL_BLEND, osg::StateAttribute::ON);
mRootNode->getOrCreateStateSet()->setMode(GL_LIGHTING, osg::StateAttribute::ON);
mCreated = true;
}

View File

@ -2401,7 +2401,7 @@ namespace MWWorld
void World::enableActorCollision(const MWWorld::Ptr& actor, bool enable)
{
OEngine::Physic::PhysicActor *physicActor = mPhysEngine->getCharacter(actor.getRefData().getHandle());
OEngine::Physic::PhysicActor *physicActor = 0;//mPhysEngine->getCharacter(actor.getRefData().getHandle());
if (physicActor)
physicActor->enableCollisionBody(enable);
}