diff --git a/examples/osgdem/osgdem.cpp b/examples/osgdem/osgdem.cpp index dc6991c12..1e4cf3fa4 100644 --- a/examples/osgdem/osgdem.cpp +++ b/examples/osgdem/osgdem.cpp @@ -136,8 +136,6 @@ int main( int argc, char **argv ) int pos = 1; while(pos _rootNode; diff --git a/src/osgTerrain/DataSet.cpp b/src/osgTerrain/DataSet.cpp index 9ab677e88..aaff8cd9f 100644 --- a/src/osgTerrain/DataSet.cpp +++ b/src/osgTerrain/DataSet.cpp @@ -2147,7 +2147,9 @@ DataSet::DataSet() _defaultColor.set(0.5f,0.5f,1.0f,1.0f); _databaseType = PagedLOD_DATABASE; - + _geometryType = POLYGONAL; + _textureType = COMPRESSED_TEXTURE; + } void DataSet::init()