From 36ddf2f018e18d9673922542bda646ed7bbf6ac9 Mon Sep 17 00:00:00 2001 From: Diego Prado Gesto Date: Mon, 13 May 2019 13:49:00 +0200 Subject: [PATCH] Do not allow the use of "weight" for third party printers Otherwise external contributors can manipulate the order in which they appear in the list --- resources/definitions/Mark2_for_Ultimaker2.def.json | 1 - .../definitions/structur3d_discov3ry1_complete_um2plus.def.json | 1 - 2 files changed, 2 deletions(-) diff --git a/resources/definitions/Mark2_for_Ultimaker2.def.json b/resources/definitions/Mark2_for_Ultimaker2.def.json index 5a6e13d27e..0fab42cab0 100644 --- a/resources/definitions/Mark2_for_Ultimaker2.def.json +++ b/resources/definitions/Mark2_for_Ultimaker2.def.json @@ -13,7 +13,6 @@ "has_machine_materials": false, "has_machine_quality": false, "has_variant_materials": false, - "weight": 2, "file_formats": "text/x-gcode", "icon": "icon_ultimaker.png", "platform": "ultimaker2_platform.obj", diff --git a/resources/definitions/structur3d_discov3ry1_complete_um2plus.def.json b/resources/definitions/structur3d_discov3ry1_complete_um2plus.def.json index 2d54555c15..b4f91d68d1 100644 --- a/resources/definitions/structur3d_discov3ry1_complete_um2plus.def.json +++ b/resources/definitions/structur3d_discov3ry1_complete_um2plus.def.json @@ -6,7 +6,6 @@ "author": "Andrew Finkle, CTO", "manufacturer": "Structur3d.io", "visible": true, - "weight": 1, "file_formats": "text/x-gcode", "platform": "ultimaker2_platform.obj", "platform_texture": "Ultimaker2Plusbackplate.png",