Add setting_version every time we create InstanceContainer

Except when we fill the instancecontainer via deserialising. Because then we want to retain the original version number.

Contributes to issue CURA-3427.
This commit is contained in:
Ghostkeeper 2017-05-15 10:39:53 +02:00
parent c61baf3355
commit ccda155882
No known key found for this signature in database
GPG key ID: C5F96EE2BC0F7E75
7 changed files with 12 additions and 3 deletions

View file

@ -1,3 +1,6 @@
# Copyright (c) 2017 Ultimaker B.V.
# Cura is released under the terms of the AGPLv3 or higher.
from UM.Workspace.WorkspaceReader import WorkspaceReader
from UM.Application import Application