Document new requirement that there must always be one child

Contributes to issue CURA-6600.
This commit is contained in:
Ghostkeeper 2019-08-22 16:47:57 +02:00
parent 46cf7aafa9
commit d06ce211ff
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276

View file

@ -20,6 +20,11 @@ if TYPE_CHECKING:
# #
# The tree starts at the machine definitions. For every distinct definition # The tree starts at the machine definitions. For every distinct definition
# there will be one machine node here. # there will be one machine node here.
#
# All of the fallbacks for material choices, quality choices, etc. should be
# encoded in this tree. There must always be at least one child node (for
# nodes that have children) but that child node may be a node representing the
# empty instance container.
class ContainerTree: class ContainerTree:
__instance = None __instance = None