X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvImageContour.cxx;h=4fecf93e9371f52703dfc9634899547f74965f11;hb=58f48784852ac6897f690a9ccbb2519ab8e5d9b6;hp=813624892fbe72bd12b8cb1415ccc4609cfa5af4;hpb=d0b577dc8ce4d5da826fed8b691d7bd7893b2ba9;p=clitk.git diff --git a/vv/vvImageContour.cxx b/vv/vvImageContour.cxx index 8136248..4fecf93 100644 --- a/vv/vvImageContour.cxx +++ b/vv/vvImageContour.cxx @@ -154,10 +154,10 @@ void vvImageContour::ShowActors() { //------------------------------------------------------------------------------ void vvImageContour::SetDepth(double d) { - mDepth = d+0.5; // FIXME to not be equal to overlay + mDepth = d; // 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