From: daid Date: Fri, 20 Sep 2013 06:33:45 +0000 (+0200) Subject: Added some comments to explain settings a bit more. X-Git-Tag: 13.10~62 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=a78d46beacdafd16ad985f943c7c787f8e519ce9;p=cura.git Added some comments to explain settings a bit more. --- diff --git a/Cura/util/profile.py b/Cura/util/profile.py index 3f039aa0..b112f518 100644 --- a/Cura/util/profile.py +++ b/Cura/util/profile.py @@ -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)