From: dsarrut Date: Thu, 3 Mar 2011 10:16:57 +0000 (+0000) Subject: change default -> do not use cache for contour (bug) X-Git-Tag: v1.2.0~212 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=8d8c142b9adc1529993aaa856dc5ac725bf37679;p=clitk.git change default -> do not use cache for contour (bug) --- 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(); }