Added suport for osgSim::MultiSwitch to .ive plugin
This commit is contained in:
@@ -41,7 +41,9 @@
|
||||
#include "Switch.h"
|
||||
#include "OccluderNode.h"
|
||||
#include "Impostor.h"
|
||||
|
||||
#include "LightPointNode.h"
|
||||
#include "MultiSwitch.h"
|
||||
|
||||
#include "Geometry.h"
|
||||
|
||||
@@ -668,6 +670,10 @@ osg::Node* DataInputStream::readNode()
|
||||
node = new osg::Switch();
|
||||
((ive::Switch*)(node))->read(this);
|
||||
}
|
||||
else if(nodeTypeID== IVEMULTISWITCH){
|
||||
node = new osgSim::MultiSwitch();
|
||||
((ive::MultiSwitch*)(node))->read(this);
|
||||
}
|
||||
else if(nodeTypeID== IVEIMPOSTOR){
|
||||
node = new osg::Impostor();
|
||||
((ive::Impostor*)(node))->read(this);
|
||||
|
||||
Reference in New Issue
Block a user