From 74fa3c5ed71ee7e0a8ae2e096dc0c32a6a9ed999 Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 23 Jun 2009 12:27:46 +0000 Subject: [PATCH] Issue 0020400: EDF 1057 GEOM: Point coordinate operation gives (0,0,0) --- src/DlgRef/DlgRef_SpinBox.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DlgRef/DlgRef_SpinBox.cxx b/src/DlgRef/DlgRef_SpinBox.cxx index 6e716b2be..7106c74d2 100644 --- 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) < thePrecision) + if ( abs(theValue) < prec ) return "0"; QString aRes; -- 2.39.2