X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsVtkGUIEditorGraphic%2FGConnectorController.cxx;h=1d07ba845fe679a10046d4870fd318e371de9608;hb=92a55a7bc8ace3f27e6ebdaf56fb47938c97cced;hp=924bd62fccad1a0204434ed2ff24203097e2b238;hpb=30ec99c0060a1f69fe302da398730d7ceaae6be2;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GConnectorController.cxx b/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GConnectorController.cxx index 924bd62..1d07ba8 100644 --- a/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GConnectorController.cxx +++ b/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GConnectorController.cxx @@ -60,6 +60,13 @@ namespace bbtk bool GConnectorController::OnMouseMove() { + printf("EED GConnectorController::OnMouseMove state%d\n", _view->getState() ); + + if (_view->getState() ==SELECTED) + { + _controller->GetManualViewBaseContour()->SetSelected(true); + } + if ( _vtkInteractorStyleBaseView!=NULL) { int X,Y;