diff --git a/src/src/Rendering/Measure/RulerAnnotationActor.cpp b/src/src/Rendering/Measure/RulerAnnotationActor.cpp index a2fd649..11b3b63 100644 --- a/src/src/Rendering/Measure/RulerAnnotationActor.cpp +++ b/src/src/Rendering/Measure/RulerAnnotationActor.cpp @@ -48,8 +48,8 @@ void RulerAnnotationActor::BuildShape() { double p2[3] = {0, 0, 0}; BaseDataPoints->GetPoint(0, p1); BaseDataPoints->GetPoint(1, p2); - p1[2] = 0.0; - p2[2] = 0.0; + // p1[2] = 0.0; + // p2[2] = 0.0; realDistance = std::sqrt(vtkMath::Distance2BetweenPoints(p1, p2)); double dis;