Merge pull request #175 from OpenMW/master

Add OpenMW commits up to 27 Feb 2017
pull/183/merge
David Cernat 8 years ago committed by GitHub
commit 48125913c3

@ -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…
Cancel
Save