mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-10 12:19:03 +08:00
Add stub preferences converter
Needs to be implemented like the rest of them. Contributes to issue CURA-844.
This commit is contained in:
parent
24946d3f13
commit
11d59709ef
@ -35,6 +35,14 @@ class VersionUpgrade21to22(VersionUpgrade):
|
||||
return None
|
||||
return machine_instance.export()
|
||||
|
||||
## Converts preferences from format version 1 to version 2.
|
||||
#
|
||||
# \param serialised The serialised preferences file in version 1.
|
||||
# \return The serialised preferences in version 2, or None if the input
|
||||
# was not of the correct format.
|
||||
def upgradePreferences(self, serialised):
|
||||
return serialised #TODO
|
||||
|
||||
## Converts profiles from format version 1 to version 2.
|
||||
#
|
||||
# \param serialised The serialised profile in version 1.
|
||||
|
Loading…
x
Reference in New Issue
Block a user