From Ulrich Hertlein, spelling corrections and a few Doxgen comments.

This commit is contained in:
Robert Osfield
2006-02-20 21:05:23 +00:00
parent b0358c698a
commit 7d5c81bf5e
12 changed files with 72 additions and 31 deletions

View File

@@ -1,5 +1,6 @@
#include <stdio.h>
#include <string.h>
#include <string>
#include <osg/Geode>
#include <osg/Group>
@@ -223,6 +224,18 @@ void ReaderWriterPFB::initPerformer()
// }
pfdInitConverter(".pfb");
/*
* Tell Performer to look in OSG search path
*/
const osgDB::FilePathList& filePath = osgDB::Registry::instance()->getDataFilePathList();
std::string path = "";
for (unsigned int i = 0; i < filePath.size(); i++) {
if (i != 0)
path += ":";
path += filePath[i];
}
pfFilePath(path.c_str());
pfConfig();
}