From Michael Platings, added support for blend seperates to .ive and .osg

This commit is contained in:
Robert Osfield
2006-07-03 09:22:11 +00:00
parent 8b445af79b
commit e7d04408d3
4 changed files with 50 additions and 4 deletions

View File

@@ -921,7 +921,8 @@ osg::StateAttribute* DataInputStream::readStateAttribute()
attribute = new osg::AlphaFunc();
((ive::AlphaFunc*)(attribute))->read(this);
}
else if(attributeID == IVEBLENDFUNC){
else if(attributeID == IVEBLENDFUNC ||
attributeID == IVEBLENDFUNCSEPARATE){
attribute = new osg::BlendFunc();
((ive::BlendFunc*)(attribute))->read(this);
}