From ac3b981712ff4d47eb17132d3eed06ce29db71a6 Mon Sep 17 00:00:00 2001 From: tbaudier Date: Thu, 10 Nov 2016 14:04:49 +0100 Subject: [PATCH] Debug 4D playing with Overlay or Fusion: Now even if the Overlay/Fusion isn't display, the time for 4D playing always start at 0 --- vv/vvSlicer.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vv/vvSlicer.cxx b/vv/vvSlicer.cxx index db4b0cf..7efaf26 100644 --- a/vv/vvSlicer.cxx +++ b/vv/vvSlicer.cxx @@ -916,9 +916,9 @@ int vvSlicer::GetTSlice() int vvSlicer::GetMaxCurrentTSlice() { int t = mCurrentTSlice; - if(mOverlay) + if(mOverlay && mOverlayActor->GetVisibility()) t = std::max(t, mCurrentOverlayTSlice); - if(mFusion&& (mFusionSequenceCode<0)) //ignore fusionSequence data: for these, the times are not to be related (this way) + if(mFusion&& (mFusionSequenceCode<0) && mFusionActor->GetVisibility()) //ignore fusionSequence data: for these, the times are not to be related (this way) t = std::max(t, mCurrentFusionTSlice); return t; } -- 2.47.1