Commit 49c8e543 authored by sumpfralle's avatar sumpfralle

prevent division-by-zero for zero-length scaling

increased number of digits for increased precision of scaling


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@1249 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 9307bdf6
......@@ -159,7 +159,7 @@
<property name="invisible_char">&#x25CF;</property>
<property name="activates_default">True</property>
<property name="adjustment">ScaleDimensionValue</property>
<property name="digits">2</property>
<property name="digits">3</property>
</object>
<packing>
<property name="expand">False</property>
......@@ -314,6 +314,7 @@
</data>
</object>
<object class="GtkAdjustment" id="ScaleDimensionValue">
<property name="lower">0.001</property>
<property name="upper">10000</property>
<property name="step_increment">1</property>
</object>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment