]> Creatis software - clitk.git/commitdiff
Correct contour depth bug
authorDavid Sarrut <david.sarrut@gmail.com>
Fri, 29 Jun 2012 12:19:09 +0000 (14:19 +0200)
committerDavid Sarrut <david.sarrut@gmail.com>
Fri, 29 Jun 2012 12:19:09 +0000 (14:19 +0200)
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();