From Alberto Farre, addition of ProxyNode, with support in .osg, .ive and .flt loaders
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
#include "FragmentProgram.h"
|
||||
#include "VertexProgram.h"
|
||||
#include "LightModel.h"
|
||||
#include "ProxyNode.h"
|
||||
|
||||
#include "Group.h"
|
||||
#include "MatrixTransform.h"
|
||||
@@ -931,6 +932,10 @@ osg::Node* DataInputStream::readNode()
|
||||
node = new osgSim::VisibilityGroup();
|
||||
((ive::VisibilityGroup*)(node))->read(this);
|
||||
}
|
||||
else if(nodeTypeID== IVEPROXYNODE){
|
||||
node = new osg::ProxyNode();
|
||||
((ive::ProxyNode*)(node))->read(this);
|
||||
}
|
||||
else if(nodeTypeID== IVEGROUP){
|
||||
node = new osg::Group();
|
||||
((ive::Group*)(node))->read(this);
|
||||
|
||||
Reference in New Issue
Block a user