mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -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
|
@ -88,14 +88,18 @@ Item
|
|||
|
||||
function generateActiveQualityText()
|
||||
{
|
||||
var result = Cura.MachineManager.activeQualityOrQualityChangesName
|
||||
|
||||
var result = ""
|
||||
if(Cura.MachineManager.activeIntentCategory != "default")
|
||||
// If this is a custom quality, add intent (if present) and quality it is based on
|
||||
if (Cura.MachineManager.isActiveQualityCustom)
|
||||
{
|
||||
result += Cura.MachineManager.activeIntentCategory + " - "
|
||||
if (Cura.MachineManager.activeIntentName != "")
|
||||
{
|
||||
result += " - " + Cura.MachineManager.activeIntentName
|
||||
}
|
||||
result += " - " + Cura.MachineManager.activeQualityName
|
||||
}
|
||||
|
||||
result += Cura.MachineManager.activeQualityOrQualityChangesName
|
||||
if (Cura.MachineManager.isActiveQualityExperimental)
|
||||
{
|
||||
result += " (Experimental)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue