Changeset 3309
- Timestamp:
- 08/23/04 10:44:47 (9 years ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/src/osgTerrain/DataSet.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgTerrain/DataSet.cpp
r3292 r3309 56 56 CoordinateSystemType getCoordinateSystemType(const osg::CoordinateSystemNode* lhs) 57 57 { 58 if (!lhs) return PROJECTED; 59 58 60 // set up LHS SpatialReference 59 61 char* projection_string = strdup(lhs->getCoordinateSystem().c_str()); … … 3253 3255 void DataSet::computeDestinationGraphFromSources(unsigned int numLevels) 3254 3256 { 3257 if (!_sourceGraph) return; 3255 3258 3256 3259 // ensure we have a valid coordinate system … … 3376 3379 void DataSet::updateSourcesForDestinationGraphNeeds() 3377 3380 { 3381 if (!_destinationGraph || !_sourceGraph) return; 3382 3378 3383 3379 3384 std::string temporyFilePrefix("temporaryfile_"); … … 3488 3493 void DataSet::populateDestinationGraphFromSources() 3489 3494 { 3495 if (!_destinationGraph || !_sourceGraph) return; 3496 3490 3497 osg::notify(osg::NOTICE)<<std::endl<<"started DataSet::populateDestinationGraphFromSources)"<<std::endl; 3491 3498
