Added support for writing the file path of a script to the lua package.path to help with loading scripts within lua.
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14451 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
@@ -239,6 +239,10 @@ class LuaScriptEngine : public osg::ScriptEngine
|
||||
std::string lookUpGLenumString(GLenum value) const;
|
||||
GLenum lookUpGLenumValue(const std::string& str) const;
|
||||
|
||||
|
||||
void addPaths(const osgDB::FilePathList& paths);
|
||||
void addPaths(const osgDB::Options* options);
|
||||
|
||||
protected:
|
||||
|
||||
void initialize();
|
||||
|
||||
Reference in New Issue
Block a user