From e5a591a3c57a60eea71b1fb91f68162bebfefd7d Mon Sep 17 00:00:00 2001 From: davila <> Date: Thu, 12 Jul 2012 14:34:44 +0000 Subject: [PATCH] BUG 1505 Not Editable(Drag) the inputs and outputs of a Complex Black Box --- lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GBoxController.cxx | 3 +-- .../bbsVtkGUIEditorGraphic/GConnectorController.cxx | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GBoxController.cxx b/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GBoxController.cxx index da33363..f5d9e7b 100644 --- a/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GBoxController.cxx +++ b/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GBoxController.cxx @@ -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; diff --git a/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GConnectorController.cxx b/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GConnectorController.cxx index 1d07ba8..563d1d0 100644 --- a/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GConnectorController.cxx +++ b/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GConnectorController.cxx @@ -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); -- 2.47.1