]> Creatis software - clitk.git/blobdiff - vv/vvImageContour.cxx
Correct contour depth bug
[clitk.git] / vv / vvImageContour.cxx
index aa7b8d7c852e37dfe0c757faa6c136a256840c29..4fecf93e9371f52703dfc9634899547f74965f11 100644 (file)
@@ -154,6 +154,7 @@ void vvImageContour::ShowActors() {
 //------------------------------------------------------------------------------
 void vvImageContour::SetDepth(double d) 
 { 
+  mDepth = d;
   // Move the actor to be visible
   double position[3] = {0, 0, 0};
   int orientation = ComputeCurrentOrientation();