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:
@@ -32,6 +32,7 @@
|
||||
#include "ShadeModel.h"
|
||||
#include "Point.h"
|
||||
#include "LineWidth.h"
|
||||
#include "LineStipple.h"
|
||||
#include "Texture1D.h"
|
||||
#include "Texture2D.h"
|
||||
#include "Texture3D.h"
|
||||
@@ -762,8 +763,9 @@ void DataOutputStream::writeStateAttribute(const osg::StateAttribute* attribute)
|
||||
else if(dynamic_cast<const osg::LineWidth*>(attribute)){
|
||||
((ive::LineWidth*)(attribute))->write(this);
|
||||
}
|
||||
else if(dynamic_cast<const osg::LineWidth*>(attribute)){
|
||||
((ive::LineWidth*)(attribute))->write(this);
|
||||
// This is a LineStipple
|
||||
else if(dynamic_cast<const osg::LineStipple*>(attribute)){
|
||||
((ive::LineStipple*)(attribute))->write(this);
|
||||
}
|
||||
// This is a Texture1D
|
||||
else if(dynamic_cast<const osg::Texture1D*>(attribute)){
|
||||
|
||||
Reference in New Issue
Block a user