Skip to content
Snippets Groups Projects
Commit 259abb6d authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Add removed variable windowsManager to python plugins

parent cc36eaec
No related branches found
No related tags found
No related merge requests found
......@@ -102,8 +102,9 @@ namespace gepetto {
qDebug() << "Enable to load module" << moduleName;
return;
}
QString var = "pluginInstance";
module.addObject("windowsManager", main->osg().get());
QString var = "pluginInstance";
QVariantList args; args << QVariant::fromValue((QObject*)main);
QVariant instance = module.call("Plugin", args);
module.addVariable(var, instance);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment