Salome HOME
projects
/
modules
/
geom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27ad88d
)
GEOM: Bad displaying of distance between two objects in 3D
author
dmv
<dmv@opencascade.com>
Mon, 27 Oct 2008 12:18:34 +0000
(12:18 +0000)
committer
dmv
<dmv@opencascade.com>
Mon, 27 Oct 2008 12:18:34 +0000
(12:18 +0000)
src/MeasureGUI/MeasureGUI_DistanceDlg.cxx
patch
|
blob
|
history
diff --git
a/src/MeasureGUI/MeasureGUI_DistanceDlg.cxx
b/src/MeasureGUI/MeasureGUI_DistanceDlg.cxx
index 100f3bad94cbb8669edaeab838c7e3a4860732e8..6aa2a3887602e7b947a4b934c2e87ff1f3b430be 100644
(file)
--- 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 );