bool GConnectorController::OnMouseMove()
{
+ if (_view->getState() ==SELECTED)
+ {
+ _controller->GetManualViewBaseContour()->SetSelected(true);
+ }
+
if ( _vtkInteractorStyleBaseView!=NULL)
{
int X,Y;
{
if ( _vtkInteractorStyleBaseView!=NULL )
{
- int X,Y,Z=900;
+ int X, Y, Z=GPOSITION_Z;
wxVTKRenderWindowInteractor *wxVTKiren;
wxVTKiren = _vtkInteractorStyleBaseView->GetWxVtk3DBaseView()->GetWxVTKRenderWindowInteractor();
wxVTKiren->GetEventPosition(X, Y);