]> Creatis software - clitk.git/commitdiff
change default -> do not use cache for contour (bug)
authordsarrut <dsarrut>
Thu, 3 Mar 2011 10:16:57 +0000 (10:16 +0000)
committerdsarrut <dsarrut>
Thu, 3 Mar 2011 10:16:57 +0000 (10:16 +0000)
vv/vvImageContour.cxx

index 1ee32cf906be201abaebf4c950d9ecb001d72a46..56a91203b1a8609bf4e8465d34cd01e5996bcd1b 100644 (file)
@@ -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();
   }