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:
4b1dcba
)
Issue 0020400: EDF 1057 GEOM: Point coordinate operation gives (0,0,0)
author
vsr
<vsr@opencascade.com>
Wed, 15 Jul 2009 13:49:40 +0000
(13:49 +0000)
committer
vsr
<vsr@opencascade.com>
Wed, 15 Jul 2009 13:49:40 +0000
(13:49 +0000)
Additional fix for small values (abs(val)<1)
src/DlgRef/DlgRef_SpinBox.cxx
patch
|
blob
|
history
diff --git
a/src/DlgRef/DlgRef_SpinBox.cxx
b/src/DlgRef/DlgRef_SpinBox.cxx
index 7106c74d2b1d99a334bd06330d4daa73ca58d77f..aeefdab600f1e43ff385288b40e358fbb16a7e93 100644
(file)
--- a/
src/DlgRef/DlgRef_SpinBox.cxx
+++ b/
src/DlgRef/DlgRef_SpinBox.cxx
@@
-107,7
+107,7
@@
QString DlgRef_SpinBox::PrintDoubleValue (double theValue, int thePrecision)
{
const double prec = 1e-12;
- if ( abs(theValue) < prec )
+ if (
f
abs(theValue) < prec )
return "0";
QString aRes;