Add documentation for globals

And maybe they should not be globals.

Contributes to issue CURA-4557.
This commit is contained in:
Ruben D 2018-03-22 00:35:55 +01:00
parent 55b247abbd
commit f91abf042f
No known key found for this signature in database
GPG Key ID: 6B42C9465E304A62

View File

@ -16,9 +16,9 @@ from UM.Scene.Iterator.DepthFirstIterator import DepthFirstIterator
catalog = i18nCatalog("cura")
SHRINKAGE_THRESHOLD = 0.5
WARNING_SIZE_XY = 150
WARNING_SIZE_Z = 100
SHRINKAGE_THRESHOLD = 0.5 #From what shrinkage percentage a warning will be issued about the model size.
WARNING_SIZE_XY = 150 #The horizontal size of a model that would be too large when dealing with shrinking materials.
WARNING_SIZE_Z = 100 #The vertical size of a model that would be too large when dealing with shrinking materials.
class ModelChecker(QObject, Extension):