From 8d8c142b9adc1529993aaa856dc5ac725bf37679 Mon Sep 17 00:00:00 2001 From: dsarrut Date: Thu, 3 Mar 2011 10:16:57 +0000 Subject: [PATCH] change default -> do not use cache for contour (bug) --- vv/vvImageContour.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vv/vvImageContour.cxx b/vv/vvImageContour.cxx index 1ee32cf..56a9120 100644 --- a/vv/vvImageContour.cxx +++ b/vv/vvImageContour.cxx @@ -33,8 +33,8 @@ vvImageContour::vvImageContour() mTSlice = -1; mSlice = 0; mHiddenImageIsUsed = false; - mDisplayModeIsPreserveMemory = false; - SetPreserveMemoryModeEnabled(false); + mDisplayModeIsPreserveMemory = true; + SetPreserveMemoryModeEnabled(true); } //------------------------------------------------------------------------------ @@ -86,6 +86,7 @@ void vvImageContour::SetPreserveMemoryModeEnabled(bool b) { if (mDisplayModeIsPreserveMemory == b) return; mDisplayModeIsPreserveMemory = b; if (!b) { + clitkExceptionMacro("TODO : not implemented yet"); HideActors(); InitializeCacheMode(); } -- 2.47.1