Fixed build of V8 and Python plugins
This commit is contained in:
@@ -41,7 +41,7 @@ void V8ScriptEngine::initialize()
|
||||
|
||||
}
|
||||
|
||||
bool V8ScriptEngine::run(osg::Script* script, const std::string& entryPoint, Parameters& inputParameters, Parameters& outputParameters)
|
||||
bool V8ScriptEngine::run(osg::Script* script, const std::string& entryPoint, osg::Parameters& inputParameters, osg::Parameters& outputParameters)
|
||||
{
|
||||
if (!script || !_isolate) return false;
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ class V8ScriptEngine : public osg::ScriptEngine
|
||||
virtual const std::string& getLanguage() const { return _language; }
|
||||
|
||||
/** run a Script.*/
|
||||
virtual bool run(osg::Script* script, const std::string& entryPoint, Parameters& inputParameters, Parameters& outputParameters);
|
||||
virtual bool run(osg::Script* script, const std::string& entryPoint, osg::Parameters& inputParameters, osg::Parameters& outputParameters);
|
||||
|
||||
v8::Isolate* getIsolate() { return _isolate; }
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ void PythonScriptEngine::initialize()
|
||||
_py_main = PyModule_GetDict(PyImport_AddModule("__main__"));
|
||||
}
|
||||
|
||||
bool PythonScriptEngine::run(osg::Script* script, const std::string& entryPoint, Parameters& inputParameters, Parameters& outputParameters)
|
||||
bool PythonScriptEngine::run(osg::Script* script, const std::string& entryPoint, osg::Parameters& inputParameters, osg::Parameters& outputParameters)
|
||||
{
|
||||
if (!script || !_py_main) return false;
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ class PythonScriptEngine : public osg::ScriptEngine
|
||||
virtual const std::string& getLanguage() const { return _language; }
|
||||
|
||||
/** run a Script.*/
|
||||
virtual bool run(osg::Script* script, const std::string& entryPoint, Parameters& inputParameters, Parameters& outputParameters);
|
||||
virtual bool run(osg::Script* script, const std::string& entryPoint, osg::Parameters& inputParameters, osg::Parameters& outputParameters);
|
||||
|
||||
/** get the Python main object.*/
|
||||
PyObject* getPythonMain() { return _py_main; }
|
||||
|
||||
Reference in New Issue
Block a user