From Luc Frauciel, You'll find attached a modification in ive plugin for POLYGONSTIPPLE read/write.
This commit is contained in:
@@ -59,6 +59,7 @@
|
||||
#include "Multisample.h"
|
||||
#include "Fog.h"
|
||||
#include "Light.h"
|
||||
#include "PolygonStipple.h"
|
||||
|
||||
#include "Group.h"
|
||||
#include "MatrixTransform.h"
|
||||
@@ -1089,6 +1090,10 @@ void DataOutputStream::writeStateAttribute(const osg::StateAttribute* attribute)
|
||||
else if(dynamic_cast<const osg::Light*>(attribute)){
|
||||
((ive::Light*)(attribute))->write(this);
|
||||
}
|
||||
// This is a PolygonStipple
|
||||
else if(dynamic_cast<const osg::PolygonStipple*>(attribute)){
|
||||
((ive::PolygonStipple*)(attribute))->write(this);
|
||||
}
|
||||
|
||||
else{
|
||||
std::string className = attribute->className();
|
||||
|
||||
Reference in New Issue
Block a user