From: Eduardo DAVILA Date: Wed, 27 Oct 2021 15:14:46 +0000 (+0200) Subject: 3472 TDx X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=02390ba6cb0ef02d335932fd87d216c4eab95253;p=creaMaracasVisu.git 3472 TDx --- diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkBaseView.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkBaseView.cxx index 2e0e2d6..9875b72 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkBaseView.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkBaseView.cxx @@ -46,6 +46,13 @@ wxVtkBaseView::wxVtkBaseView(wxWindow *parent) { _parent = parent; _iren = (crea::wxVTKRenderWindowInteractor*)new wxVTKRenderWindowInteractorPlus(_parent,this); +//EED 2021-10-12 +#ifdef VTK_USE_TDX + _iren->SetUseTDx(true); +#endif + + + // _iren->UseCaptureMouseOn(); // _iren = new wxVTKRenderWindowInteractor(_parent,-1); _interactorStyle = NULL;