Add the slice_uuid to the slice info data

Contributes to CURA-9031
This commit is contained in:
j.spijker@ultimaker.com 2022-07-27 18:13:09 +02:00 committed by jspijker
parent a712e7517a
commit a88e31eddd

View File

@ -133,6 +133,7 @@ class SliceInfo(QObject, Extension):
data["is_logged_in"] = self._application.getCuraAPI().account.isLoggedIn data["is_logged_in"] = self._application.getCuraAPI().account.isLoggedIn
data["organization_id"] = org_id if org_id else None data["organization_id"] = org_id if org_id else None
data["subscriptions"] = user_profile.get("subscriptions", []) if user_profile else [] data["subscriptions"] = user_profile.get("subscriptions", []) if user_profile else []
data["slice_uuid"] = print_information.slice_uuid
active_mode = self._application.getPreferences().getValue("cura/active_mode") active_mode = self._application.getPreferences().getValue("cura/active_mode")
if active_mode == 0: if active_mode == 0: