forked from teamnwah/openmw-tes3coop
Sky fix
This commit is contained in:
parent
b4a06bd78d
commit
8971a200f7
2 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue