From Alberto Farre, "Missed a FilepathList pop_back line from my last submission.

I have also commented out the option string set with FLT_VER because it
overwrites other option string and I found it redundant and not needed."
This commit is contained in:
Robert Osfield 2005-05-03 21:53:25 +00:00
parent 2a3831ff41
commit 56882a7413

View File

@ -261,9 +261,9 @@ bool FltFile::readFile(const std::string& fileName)
pushAndPopPath = (fpl.empty() | fpl.back().empty() ? "." : fpl.back()) + "/" + filePath;
}
char optionsString[256];
/*char optionsString[256];
sprintf(optionsString,"FLT_VER %d",rec.getFlightVersion());
options->setOptionString(optionsString);
options->setOptionString(optionsString);*/
//osg::notify(osg::NOTICE)<<"Create local path"<<pushAndPopPath<<std::endl;
@ -279,6 +279,8 @@ bool FltFile::readFile(const std::string& fileName)
}
pExternalFltFile->readModel(filename);
fpl.pop_back();
}
rec.setExternal(pExternalFltFile);