mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 06:05:52 +08:00
Group intent and quality
Bit of an ugly hack. At later point in the code it is assumed the first element of the list is the main part and the remaining elements form the suffix. Intent and the profile form both the main part so these need to be grouped together. Cura-9773
This commit is contained in:
parent
76564f7bc4
commit
4fa024cd31
@ -1639,10 +1639,10 @@ class MachineManager(QObject):
|
||||
if result_map["custom_profile"] is not None:
|
||||
string_parts.append(result_map["custom_profile"])
|
||||
|
||||
string_parts.append(result_map["profile"])
|
||||
|
||||
if result_map["intent_category"] is not "default":
|
||||
string_parts.append(result_map["intent_name"])
|
||||
string_parts.append(f"""{result_map["intent_name"]} - {result_map["profile"]}""")
|
||||
else:
|
||||
string_parts.append(result_map["profile"])
|
||||
|
||||
if result_map["layer_height"]:
|
||||
string_parts.append(f"""{result_map["layer_height"]}mm""")
|
||||
|
Loading…
x
Reference in New Issue
Block a user