From Andrew Bettison, "Attached are changes for src/osgPlugins/ive (version 2.4.0) that implement LineStipple read/write support for the ive file format."
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
#include "ShadeModel.h"
|
||||
#include "Point.h"
|
||||
#include "LineWidth.h"
|
||||
#include "LineStipple.h"
|
||||
#include "Texture1D.h"
|
||||
#include "Texture2D.h"
|
||||
#include "Texture3D.h"
|
||||
@@ -1178,6 +1179,10 @@ osg::StateAttribute* DataInputStream::readStateAttribute()
|
||||
attribute = new osg::Multisample();
|
||||
((ive::Multisample*)(attribute))->read(this);
|
||||
}
|
||||
else if(attributeID == IVELINESTIPPLE){
|
||||
attribute = new osg::LineStipple();
|
||||
((ive::LineStipple*)(attribute))->read(this);
|
||||
}
|
||||
else if(attributeID == IVESTENCIL){
|
||||
attribute = new osg::Stencil();
|
||||
((ive::Stencil*)(attribute))->read(this);
|
||||
|
||||
Reference in New Issue
Block a user