X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsVtkGUIEditorGraphic%2FGConnectorController.cxx;h=924bd62fccad1a0204434ed2ff24203097e2b238;hb=a28e6f908ae524e5ef4b70dba487e88cc525d27c;hp=40a1a343548494603465d32d5e1a6575e8304c2e;hpb=374fe79069e8d99555db1f819a3a03f1ba2f5fe6;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GConnectorController.cxx b/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GConnectorController.cxx index 40a1a34..924bd62 100644 --- a/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GConnectorController.cxx +++ b/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GConnectorController.cxx @@ -166,7 +166,7 @@ namespace bbtk { if ( _vtkInteractorStyleBaseView!=NULL ) { - int X,Y,Z=900; + int X, Y, Z=GPOSITION_Z; wxVTKRenderWindowInteractor *wxVTKiren; wxVTKiren = _vtkInteractorStyleBaseView->GetWxVtk3DBaseView()->GetWxVTKRenderWindowInteractor(); wxVTKiren->GetEventPosition(X, Y);