Added .ive support for BlendEquation
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#include "BlendColor.h"
|
||||
#include "Stencil.h"
|
||||
#include "BlendFunc.h"
|
||||
#include "BlendEquation.h"
|
||||
#include "Depth.h"
|
||||
#include "Material.h"
|
||||
#include "CullFace.h"
|
||||
@@ -1097,6 +1098,10 @@ osg::StateAttribute* DataInputStream::readStateAttribute()
|
||||
attribute = new osg::BlendFunc();
|
||||
((ive::BlendFunc*)(attribute))->read(this);
|
||||
}
|
||||
else if(attributeID == IVEBLENDEQUATION){
|
||||
attribute = new osg::BlendEquation();
|
||||
((ive::BlendEquation*)(attribute))->read(this);
|
||||
}
|
||||
else if(attributeID == IVEDEPTH){
|
||||
attribute = new osg::Depth();
|
||||
((ive::Depth*)(attribute))->read(this);
|
||||
|
||||
Reference in New Issue
Block a user