chiark / gitweb /
Added some comments to explain settings a bit more.
authordaid <daid303@gmail.com>
Fri, 20 Sep 2013 06:33:45 +0000 (08:33 +0200)
committerdaid <daid303@gmail.com>
Fri, 20 Sep 2013 06:33:45 +0000 (08:33 +0200)
Cura/util/profile.py

index 3f039aa0d82a8026cb89769cba312ac20b63c8fd..b112f5186adf9d0f40ce95c2d17429312ea7b877 100644 (file)
@@ -13,11 +13,14 @@ from Cura.util import resources
 from Cura.util import version
 from Cura.util import validators
 
-#The setting dictionary contains a key/value reference to all possible settings. With the setting name as key.
+#The settings dictionary contains a key/value reference to all possible settings. With the setting name as key.
 settingsDictionary = {}
+#The settings list is used to keep a full list of all the settings. This is needed to keep the settings in the proper order,
+# as the dictionary will not contain insertion order.
+settingsList = []
 
 class setting(object):
-       #A setting object contains a configuration setting. These are globally accessable trough the quick access functions
+       #A setting object contains a configuration setting. These are globally accessible trough the quick access functions
        # and trough the settingsDictionary function.
        # Settings can be:
        # * profile settings (settings that effect the slicing process and the print result)