- Timestamp:
- 11/23/09 12:00:07 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/ive/ReaderWriterIVE.cpp
r10762 r10819 29 29 supportsOption("TerrainMaximumErrorToSizeRatio=value","Export option that controls error matric used to determine terrain HieghtField storage precision."); 30 30 supportsOption("noLoadExternalReferenceFiles","Import option"); 31 supportsOption("OutputTextureFiles","Write out the texture images to file"); 31 32 } 32 33 … … 69 70 osg::ref_ptr<Options> local_opt = options ? static_cast<Options*>(options->clone(osg::CopyOp::SHALLOW_COPY)) : new Options; 70 71 local_opt->getDatabasePathList().push_front(osgDB::getFilePath(fileName)); 71 72 72 73 osgDB::ifstream istream(fileName.c_str(), std::ios::in | std::ios::binary); 73 74 return readNode(istream,local_opt.get()); … … 119 120 if(local_opt->getDatabasePathList().empty()) 120 121 local_opt->setDatabasePath(osgDB::getFilePath(fileName)); 122 123 local_opt->setPluginStringData("filename",fileName); 124 121 125 osgDB::ofstream fout(fileName.c_str(), std::ios::out | std::ios::binary); 122 126 if (!fout) return WriteResult::ERROR_IN_WRITING_FILE; … … 135 139 if(local_opt->getDatabasePathList().empty()) 136 140 local_opt->setDatabasePath(osgDB::getFilePath(fileName)); 141 142 local_opt->setPluginStringData("filename",fileName); 137 143 138 144 osgDB::ofstream fout(fileName.c_str(), std::ios::out | std::ios::binary);
