Commit 375cacad authored by Joseph Mirabel's avatar Joseph Mirabel

Fix connection errors

* The viewer CORBA server may not be available when loading python
* plugins.
parent 237def68
......@@ -377,7 +377,7 @@ class Plugin(QDockWidget):
self.osg = None
self.mainWindow = mainWindow
self.hppPlugin = mainWindow.getFromSlot("getHppIIOPurl")
self.resetConnection()
#self.resetConnection()
mainWindow.registerShortcut("Dynamic builder", "Toggle view", self.toggleViewAction())
self.dynamicBuilder = _DynamicBuilder(mainWindow, self)
self.setWidget(self.dynamicBuilder)
......
......@@ -171,7 +171,7 @@ class Plugin(QtGui.QDockWidget):
self.setObjectName ("hpp.gui.plugin")
self.main = mainWindow
self.hppPlugin = self.main.getFromSlot("getHppIIOPurl")
self.resetConnection()
#self.resetConnection()
self.widgetToRefresh = list()
self.osg = None
# Initialize the widget
......
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