]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsKernelEditorGraphic/wxVtkSceneManager.cxx
Show set's dialog ...
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsKernelEditorGraphic / wxVtkSceneManager.cxx
index cab3936f7976ff5f98d0e03977c28e1a31aa6af1..3a5c196f86eb0e1a9a71079362edcb506d19dffa 100644 (file)
@@ -307,6 +307,7 @@ namespace bbtk
                connectorModel->setManualContourModel(manContourModel);
                connectorView->setManualContourView(manContourView);
                connectorView->setModel(connectorModel);
+               connectorView->setBaseView(_baseView);
                connectorcontroller->setModelAndView(connectorModel,connectorView);
 
                int newId = _controllers.size();
@@ -645,9 +646,9 @@ namespace bbtk
                        GObjectController *cont = it->second;
                        int type = cont->getGObjectType();
                        
-                       if(type==GBLACKBOX)
+                       if(cont->getView()->isPointInside(X,Y))
                        {
-                               if(cont->getView()->isPointInside(X,Y))
+                               if(type==GBLACKBOX)
                                {
                                        for (int i=0; i<_selectedObjects.size(); i++)
                                        {
@@ -666,7 +667,7 @@ namespace bbtk
 
                if(clickOnObject==false)
                {
-                       _parent->editDiagramParameters(this);
+                       //_parent->editDiagramParameters(this);
                }
 
                return true;