From 65b312b55f9286a946f956d87a62746c27d23a03 Mon Sep 17 00:00:00 2001 From: Eduardo Davila Date: Mon, 9 Jul 2012 13:00:56 +0000 Subject: [PATCH] 1492 Bug viewer 2D view orientation --- packages/wxvtk/src/wxvtkImageViewer2.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/wxvtk/src/wxvtkImageViewer2.cxx b/packages/wxvtk/src/wxvtkImageViewer2.cxx index 45ab995..2b33e4e 100644 --- a/packages/wxvtk/src/wxvtkImageViewer2.cxx +++ b/packages/wxvtk/src/wxvtkImageViewer2.cxx @@ -26,7 +26,7 @@ #include "vtkRenderWindowInteractor.h" #include "vtkRenderer.h" -vtkCxxRevisionMacro(wxvtkImageViewer2, "$Revision: 1.6 $"); +vtkCxxRevisionMacro(wxvtkImageViewer2, "$Revision: 1.7 $"); vtkStandardNewMacro(wxvtkImageViewer2); //---------------------------------------------------------------------------- @@ -315,8 +315,8 @@ void wxvtkImageViewer2::UpdateOrientation() switch (this->SliceOrientation) { case wxvtkImageViewer2::SLICE_ORIENTATION_YZ: - cam->SetViewUp(0,0,-1); - cam->SetPosition(-1,0,0); // -1 if medical ? + cam->SetViewUp(0,0,1); + cam->SetPosition(1,0,0); // -1 if medical ? cam->SetFocalPoint(0,0,0); break; -- 2.47.1