]> Creatis software - bbtkGEditor.git/commitdiff
BUG 1505
authordavila <>
Thu, 12 Jul 2012 14:34:44 +0000 (14:34 +0000)
committerdavila <>
Thu, 12 Jul 2012 14:34:44 +0000 (14:34 +0000)
 Not Editable(Drag) the inputs and outputs of a Complex Black Box

lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GBoxController.cxx
lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GConnectorController.cxx

index da3336334faf938db197fb1e7bb2460779431642..f5d9e7b29881fecfd7602fdb2c14815f71103d1b 100644 (file)
@@ -103,8 +103,7 @@ namespace bbtk
                    ok=false;
                        _isLeftClickDown=true;
                        _view->setState(SELECTED);
-//                     _model->notifyObservers(getId(),ADD_TO_SELECTED);
-                       _model->notifyObservers(getId());
+                       _model->notifyObservers(getId(),ADD_TO_SELECTED);
                }
                return ok;
 
index 1d07ba845fe679a10046d4870fd318e371de9608..563d1d0574b9432da0b42a2e780fc15ce4fb5a08 100644 (file)
@@ -60,8 +60,6 @@ namespace bbtk
        bool GConnectorController::OnMouseMove()
        {
 
-               printf("EED GConnectorController::OnMouseMove  state%d\n", _view->getState() );
-               
                if (_view->getState() ==SELECTED)
                {
                        _controller->GetManualViewBaseContour()->SetSelected(true);