mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-06 00:55:50 +00:00
Sky fix
This commit is contained in:
parent
b4a06bd78d
commit
8971a200f7
@ -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 New Issue
Block a user