mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 06:33:55 -06:00
Show quality and intent a custom profile is based on
CURA-6846
This commit is contained in:
parent
027768f151
commit
bd84c4d98d
3 changed files with 41 additions and 8 deletions
|
@ -20,13 +20,18 @@ RowLayout
|
|||
{
|
||||
if (Cura.MachineManager.activeStack)
|
||||
{
|
||||
var text = ""
|
||||
if(Cura.MachineManager.activeIntentCategory != "default")
|
||||
var text = Cura.MachineManager.activeQualityOrQualityChangesName
|
||||
|
||||
// If this is a custom quality, add intent (if present) and quality it is based on
|
||||
if (Cura.MachineManager.isActiveQualityCustom)
|
||||
{
|
||||
text += Cura.MachineManager.activeIntentCategory + " - "
|
||||
if (Cura.MachineManager.activeIntentName != "")
|
||||
{
|
||||
text += " - " + Cura.MachineManager.activeIntentName
|
||||
}
|
||||
text += " - " + Cura.MachineManager.activeQualityName
|
||||
}
|
||||
|
||||
text += Cura.MachineManager.activeQualityOrQualityChangesName
|
||||
if (!Cura.MachineManager.hasNotSupportedQuality)
|
||||
{
|
||||
text += " - " + layerHeight.properties.value + "mm"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue