forked from teamnwah/openmw-tes3coop
Merge pull request #175 from OpenMW/master
Add OpenMW commits up to 27 Feb 2017
This commit is contained in:
commit
48125913c3
2 changed files with 4 additions and 1 deletions
|
@ -652,7 +652,7 @@ namespace MWPhysics
|
|||
mPtr.getRefData().getBaseNode()->accept(visitor);
|
||||
if (!visitor.mFound)
|
||||
{
|
||||
std::cerr << "animateCollisionShapes: Can't find node " << recIndex << std::endl;
|
||||
std::cerr << "animateCollisionShapes: Can't find node " << recIndex << " for " << mPtr.getCellRef().getRefId() << std::endl;
|
||||
return;
|
||||
}
|
||||
osg::NodePath nodePath = visitor.mFoundPath;
|
||||
|
|
|
@ -528,6 +528,9 @@ namespace NifOsg
|
|||
node = new osg::Group;
|
||||
dataVariance = osg::Object::STATIC;
|
||||
break;
|
||||
case Nif::RC_NiBillboardNode:
|
||||
dataVariance = osg::Object::DYNAMIC;
|
||||
break;
|
||||
default:
|
||||
// The Root node can be created as a Group if no transformation is required.
|
||||
// This takes advantage of the fact root nodes can't have additional controllers
|
||||
|
|
Loading…
Reference in a new issue