mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 04:29:01 +08:00
Merge branch '4.0' into STAR-322_cloud-connection
This commit is contained in:
commit
3d6710d5b6
@ -25,7 +25,7 @@ class MultiplyObjectsJob(Job):
|
||||
|
||||
def run(self):
|
||||
status_message = Message(i18n_catalog.i18nc("@info:status", "Multiplying and placing objects"), lifetime=0,
|
||||
dismissable=False, progress=0, title = i18n_catalog.i18nc("@info:title", "Placing Object"))
|
||||
dismissable=False, progress=0, title = i18n_catalog.i18nc("@info:title", "Placing Objects"))
|
||||
status_message.show()
|
||||
scene = Application.getInstance().getController().getScene()
|
||||
|
||||
|
@ -235,12 +235,17 @@ class Toolbox(QObject, Extension):
|
||||
|
||||
def _convertPluginMetadata(self, plugin_data: Dict[str, Any]) -> Optional[Dict[str, Any]]:
|
||||
try:
|
||||
highest_sdk_version_supported = Version(0)
|
||||
for supported_version in plugin_data["plugin"]["supported_sdk_versions"]:
|
||||
if supported_version > highest_sdk_version_supported:
|
||||
highest_sdk_version_supported = supported_version
|
||||
|
||||
formatted = {
|
||||
"package_id": plugin_data["id"],
|
||||
"package_type": "plugin",
|
||||
"display_name": plugin_data["plugin"]["name"],
|
||||
"package_version": plugin_data["plugin"]["version"],
|
||||
"sdk_version": plugin_data["plugin"]["api"],
|
||||
"sdk_version": highest_sdk_version_supported,
|
||||
"author": {
|
||||
"author_id": plugin_data["plugin"]["author"],
|
||||
"display_name": plugin_data["plugin"]["author"]
|
||||
|
@ -730,6 +730,23 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"VersionUpgrade35to40": {
|
||||
"package_info": {
|
||||
"package_id": "VersionUpgrade35to40",
|
||||
"package_type": "plugin",
|
||||
"display_name": "Version Upgrade 3.5 to 4.0",
|
||||
"description": "Upgrades configurations from Cura 3.5 to Cura 4.0.",
|
||||
"package_version": "1.0.0",
|
||||
"sdk_version": "6.0",
|
||||
"website": "https://ultimaker.com",
|
||||
"author": {
|
||||
"author_id": "UltimakerPackages",
|
||||
"display_name": "Ultimaker B.V.",
|
||||
"email": "plugins@ultimaker.com",
|
||||
"website": "https://ultimaker.com"
|
||||
}
|
||||
}
|
||||
},
|
||||
"X3DReader": {
|
||||
"package_info": {
|
||||
"package_id": "X3DReader",
|
||||
|
Loading…
x
Reference in New Issue
Block a user