From bce23c1f18ed0229d29e6e79fcec156cd866c614 Mon Sep 17 00:00:00 2001 From: dmv Date: Mon, 27 Oct 2008 12:18:34 +0000 Subject: [PATCH] GEOM: Bad displaying of distance between two objects in 3D --- src/MeasureGUI/MeasureGUI_DistanceDlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MeasureGUI/MeasureGUI_DistanceDlg.cxx b/src/MeasureGUI/MeasureGUI_DistanceDlg.cxx index 100f3bad9..6aa2a3887 100644 --- a/src/MeasureGUI/MeasureGUI_DistanceDlg.cxx +++ b/src/MeasureGUI/MeasureGUI_DistanceDlg.cxx @@ -296,7 +296,7 @@ SALOME_Prs* MeasureGUI_DistanceDlg::buildPrs() gp_Pnt aPnt3( ( aPnt1.X() + aPnt2.X() ) / 2, ( aPnt1.Y() + aPnt2.Y() ) / 2, - ( aPnt1.Z() + aPnt2.Z() ) / 2 + 100 ); + ( aPnt1.Z() + aPnt2.Z() ) / 2 ); gp_Vec va( aPnt3, aPnt1 ); gp_Vec vb( aPnt3, aPnt2 ); -- 2.39.2