From 29d00baffa433b3f4a60c69116b840c97e470ec9 Mon Sep 17 00:00:00 2001 From: David Sarrut Date: Thu, 14 Jun 2012 15:34:35 +0200 Subject: [PATCH] Correct false depth for contour --- vv/vvImageContour.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vv/vvImageContour.cxx b/vv/vvImageContour.cxx index 8136248..aa7b8d7 100644 --- a/vv/vvImageContour.cxx +++ b/vv/vvImageContour.cxx @@ -154,10 +154,9 @@ void vvImageContour::ShowActors() { //------------------------------------------------------------------------------ void vvImageContour::SetDepth(double d) { - mDepth = d+0.5; // FIXME to not be equal to overlay // Move the actor to be visible double position[3] = {0, 0, 0}; - int orientation = ComputeCurrentOrientation(); + int orientation = ComputeCurrentOrientation(); position[orientation] = -mDepth; for(unsigned int i=0; i