Commit ae21123e authored by Joseph Mirabel's avatar Joseph Mirabel

Update to chaanges in HPP (contexts).

parent 375cacad
......@@ -261,7 +261,7 @@ namespace hpp {
QString HppWidgetsPlugin::getHppContext () const
{
QString context = gepetto::gui::MainWindow::instance ()->settings_->getSetting
("hpp/context", QString ()).toString ();
("hpp/context", QString ("corbaserver")).toString ();
return context;
}
......
......@@ -23,9 +23,9 @@ class _Clients(object):
def __init__(self, mainWindow):
self.hppPlugin = mainWindow.getFromSlot("getHppIIOPurl")
self.basic = BasicClient(url= str(self.hppPlugin.getHppIIOPurl()),
postContextId= str(self.hppPlugin.getHppContext()))
context= str(self.hppPlugin.getHppContext()))
self.manipulation = ManipClient(url= str(self.hppPlugin.getHppIIOPurl()),
postContextId= str(self.hppPlugin.getHppContext()))
context= str(self.hppPlugin.getHppContext()))
self.viewer = ViewerClient()
class _GraspMode(QWidget):
......
......@@ -188,7 +188,7 @@ class Plugin(QtGui.QDockWidget):
def resetConnection(self):
self.client = Client(url= str(self.hppPlugin.getHppIIOPurl()),
postContextId= str(self.hppPlugin.getHppContext()))
context = str(self.hppPlugin.getHppContext()))
self.resetRobot();
self.gui = GuiClient()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment