Commit 5b884382 authored by sumpfralle's avatar sumpfralle

added suitable minimum and maximum values to some controls (prevent division-by-zero and similar)


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@271 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 7793791d
...@@ -2113,6 +2113,7 @@ ...@@ -2113,6 +2113,7 @@
</object> </object>
<object class="GtkAdjustment" id="scale factor"> <object class="GtkAdjustment" id="scale factor">
<property name="value">1</property> <property name="value">1</property>
<property name="lower">1</property>
<property name="upper">1000</property> <property name="upper">1000</property>
<property name="step_increment">1</property> <property name="step_increment">1</property>
</object> </object>
...@@ -2459,18 +2460,22 @@ ...@@ -2459,18 +2460,22 @@
<property name="step_increment">1</property> <property name="step_increment">1</property>
</object> </object>
<object class="GtkAdjustment" id="feedrate"> <object class="GtkAdjustment" id="feedrate">
<property name="lower">1</property>
<property name="upper">1000</property> <property name="upper">1000</property>
<property name="step_increment">1</property> <property name="step_increment">1</property>
</object> </object>
<object class="GtkAdjustment" id="speed"> <object class="GtkAdjustment" id="speed">
<property name="lower">1</property>
<property name="upper">10000</property> <property name="upper">10000</property>
<property name="step_increment">1</property> <property name="step_increment">1</property>
</object> </object>
<object class="GtkAdjustment" id="toolradius"> <object class="GtkAdjustment" id="toolradius">
<property name="lower">0.0001</property>
<property name="upper">100</property> <property name="upper">100</property>
<property name="step_increment">0.10000000000000001</property> <property name="step_increment">0.10000000000000001</property>
</object> </object>
<object class="GtkAdjustment" id="torusradius"> <object class="GtkAdjustment" id="torusradius">
<property name="lower">0.0001</property>
<property name="upper">100</property> <property name="upper">100</property>
<property name="step_increment">0.050000000000000003</property> <property name="step_increment">0.050000000000000003</property>
</object> </object>
...@@ -2484,6 +2489,7 @@ ...@@ -2484,6 +2489,7 @@
<property name="step_increment">0.10000000000000001</property> <property name="step_increment">0.10000000000000001</property>
</object> </object>
<object class="GtkAdjustment" id="MaxStepDownValue"> <object class="GtkAdjustment" id="MaxStepDownValue">
<property name="lower">0.01</property>
<property name="upper">100</property> <property name="upper">100</property>
<property name="step_increment">1</property> <property name="step_increment">1</property>
</object> </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