X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvSlicerManagerCommand.cxx;h=f29263b76c34347e66258d9677722c9c05cd71e9;hb=30659c9eea7c95c04002cb3de18d6e584f8d1296;hp=5b35bdd826e9eb94797518a8fcd5f565a9e949bb;hpb=48d8569538b93bf923de2f8d5c4b9db51640978f;p=clitk.git diff --git a/vv/vvSlicerManagerCommand.cxx b/vv/vvSlicerManagerCommand.cxx index 5b35bdd..f29263b 100644 --- a/vv/vvSlicerManagerCommand.cxx +++ b/vv/vvSlicerManagerCommand.cxx @@ -247,9 +247,13 @@ void vvSlicerManagerCommand::Execute(vtkObject *caller, } if (KeyPress == "Up") { - this->SM->GetSlicer(VisibleInWindow)->SetSlice(this->SM->GetSlicer(VisibleInWindow)->GetSlice()+1); - this->SM->UpdateSlice(VisibleInWindow); - this->SM->UpdateInfoOnCursorPosition(VisibleInWindow); + DD("------------ up"); + this->SM->GetSlicer(VisibleInWindow)->SetSlice(this->SM->GetSlicer(VisibleInWindow)->GetSlice()+1); + DD("------------ after set slice"); + this->SM->UpdateInfoOnCursorPosition(VisibleInWindow); + DD("------------ after UpdateInfoOnCursorPosition"); + this->SM->UpdateSlice(VisibleInWindow); + DD("------------ after updateslice"); } if (KeyPress == "Down") {