Salome HOME
Issue #19036: Can't use a parameter with 1e-5 value in the sketcher
authorArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Tue, 28 Apr 2020 12:05:40 +0000 (15:05 +0300)
committerArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Tue, 28 Apr 2020 12:05:40 +0000 (15:05 +0300)
commit41b7fc943aeba408734811c2d8be704b29d1738d
tree5cecbcb228ca3b5893770a6fd4ab449326ca46c9
parent752b7b296bc5884b6bf355f03a67369cf717b6b5
Issue #19036: Can't use a parameter with 1e-5 value in the sketcher

Improve calculation of the parameter value. Avoid checking the dot in the floating value.
src/InitializationPlugin/InitializationPlugin_EvalListener.cpp
src/ParametersPlugin/CMakeLists.txt
src/ParametersPlugin/Test/Test19036.py [new file with mode: 0644]