From: dmv Date: Mon, 27 Oct 2008 12:13:35 +0000 (+0000) Subject: GEOM: Bad displaying of distance between two objects in 3D X-Git-Tag: V5_1_0a3~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f4e744e347a4669dca467685838927eb5cc9d076;p=modules%2Fgeom.git GEOM: Bad displaying of distance between two objects in 3D --- diff --git a/src/MeasureGUI/MeasureGUI_DistanceDlg.cxx b/src/MeasureGUI/MeasureGUI_DistanceDlg.cxx index 04958ede0..4d385457a 100644 --- a/src/MeasureGUI/MeasureGUI_DistanceDlg.cxx +++ b/src/MeasureGUI/MeasureGUI_DistanceDlg.cxx @@ -309,7 +309,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);