- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/tgz/ReaderWriterTGZ.cpp
r11538 r13041 83 83 fileName.c_str()); 84 84 #endif 85 85 86 86 OSG_NOTICE<<"Running command '"<<command<<"'"<<std::endl; 87 87 88 88 int result = system( command ); 89 89 if (result!=0) return ReadResult::ERROR_IN_READING_FILE; 90 90 91 91 92 92 osg::ref_ptr<osg::Group> grp = new osg::Group; 93 93 94 94 OSG_NOTICE<<"Done"<<std::endl; 95 95 96 96 osg::ref_ptr<osgDB::ReaderWriter::Options> local_options = options ? static_cast<osgDB::ReaderWriter::Options*>(options->clone(osg::CopyOp::SHALLOW_COPY)) : new osgDB::ReaderWriter::Options; 97 97 local_options->getDatabasePathList().push_front(dirname); … … 110 110 { 111 111 std::string file_ext = osgDB::getFileExtension(*itr); 112 if (!acceptsExtension(file_ext) && 113 *itr!=std::string(".") && 112 if (!acceptsExtension(file_ext) && 113 *itr!=std::string(".") && 114 114 *itr!=std::string("..")) 115 115 {
