Added missing Node::asAutoTransform() + NodeVisitor::apply(AutoTransform&).
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
#include <osg/OcclusionQueryNode>
|
||||
#include <osg/PagedLOD>
|
||||
#include <osg/PositionAttitudeTransform>
|
||||
#include <osg/AutoTransform>
|
||||
#include <osg/Projection>
|
||||
#include <osg/ProxyNode>
|
||||
#include <osg/Sequence>
|
||||
@@ -161,6 +162,11 @@ void NodeVisitor::apply(PositionAttitudeTransform& node)
|
||||
apply(static_cast<Transform&>(node));
|
||||
}
|
||||
|
||||
void NodeVisitor::apply(AutoTransform& node)
|
||||
{
|
||||
apply(static_cast<Transform&>(node));
|
||||
}
|
||||
|
||||
void NodeVisitor::apply(Switch& node)
|
||||
{
|
||||
apply(static_cast<Group&>(node));
|
||||
|
||||
Reference in New Issue
Block a user