From Micheal Gronager, fix to osg::Quat::getRotate(..) to handle zero rotations.

Port of Sequence to subclass directly from osg::Group.
This commit is contained in:
Robert Osfield
2002-12-10 19:58:03 +00:00
parent 97a4775b7e
commit 64c5fb644a
2 changed files with 22 additions and 18 deletions

View File

@@ -1,4 +1,5 @@
#include <osg/Sequence>
#include <osg/Notify>
using namespace osg;
@@ -177,6 +178,10 @@ void Sequence::traverse(NodeVisitor& nv)
}
setValue(sw);
}
else
{
osg::notify(osg::WARN) << "osg::Sequence::traverse(NodeVisitor&) requires a valid FrameStamp to function, sequence not updated.\n";
}
}
// now do the traversal