]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Task #3230: Sketcher: create a curve passing through selected points or vertices...
authorArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Thu, 25 Jun 2020 10:29:17 +0000 (13:29 +0300)
committerArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Thu, 25 Jun 2020 10:29:17 +0000 (13:29 +0300)
Fix the problem with resetting the Precision value to default.

src/SketchPlugin/plugin-Sketch.xml

index ffc443fe681ff2de78fe6a8f3a7e4327b46048fb..b0bc3332859d152f8b40b408bd8c0510d37d91b8 100644 (file)
         <switch id="type">
           <case id="interpolation_type" title="Interpolation"/>
           <case id="approximation_type" title="Approximation">
-            <doublevalue_editor id="precision"
-                                label="Precision"
-                                tooltip="Maximal distance from selected points to the curve"
-                                default="1.e-3"
-                                min="1.e-7">
+            <doublevalue id="precision"
+                         label="Precision"
+                         tooltip="Maximal distance from selected points to the curve"
+                         default="0.001"
+                         min="1.e-7"
+                         use_reset="false">
               <validator id="GeomValidators_Positive" parameters="0"/>
-            </doublevalue_editor>
+            </doublevalue>
           </case>
         </switch>
         <boolvalue id="need_control_poly"