Added support for ColorMask to .ive plugin
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#include "Depth.h"
|
||||
#include "Material.h"
|
||||
#include "CullFace.h"
|
||||
#include "ColorMask.h"
|
||||
#include "ClipPlane.h"
|
||||
#include "PolygonOffset.h"
|
||||
#include "PolygonMode.h"
|
||||
@@ -998,6 +999,10 @@ osg::StateAttribute* DataInputStream::readStateAttribute()
|
||||
attribute = new osg::CullFace();
|
||||
((ive::CullFace*)(attribute))->read(this);
|
||||
}
|
||||
else if(attributeID == IVECOLORMASK){
|
||||
attribute = new osg::ColorMask();
|
||||
((ive::ColorMask*)(attribute))->read(this);
|
||||
}
|
||||
else if(attributeID == IVECLIPPLANE){
|
||||
attribute = new osg::ClipPlane();
|
||||
((ive::ClipPlane*)(attribute))->read(this);
|
||||
|
||||
Reference in New Issue
Block a user