From Jason Beverage, added option to control whether simplification of
tiles is done during osgdem builds.
This commit is contained in:
@@ -1044,6 +1044,9 @@ class OSGTERRAIN_EXPORT DataSet : public osg::Referenced
|
||||
void setUseLocalTileTransform(bool flag) { _useLocalTileTransform = flag; }
|
||||
bool getUseLocalTileTransform() const { return _useLocalTileTransform; }
|
||||
|
||||
void setSimplifyTerrain(bool flag) { _simplifyTerrain = flag; }
|
||||
bool getSimplifyTerrain() const { return _simplifyTerrain; }
|
||||
|
||||
|
||||
void setDecorateGeneratedSceneGraphWithCoordinateSystemNode(bool flag) { _decorateWithCoordinateSystemNode = flag; }
|
||||
bool getDecorateGeneratedSceneGraphWithCoordinateSystemNode() const { return _decorateWithCoordinateSystemNode; }
|
||||
@@ -1159,6 +1162,8 @@ class OSGTERRAIN_EXPORT DataSet : public osg::Referenced
|
||||
std::string _comment;
|
||||
|
||||
bool _writeNodeBeforeSimplification;
|
||||
|
||||
bool _simplifyTerrain;
|
||||
|
||||
osg::ref_ptr<osg::Node> _rootNode;
|
||||
osg::ref_ptr<osg::State> _state;
|
||||
|
||||
Reference in New Issue
Block a user