mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 22:35:03 -06:00
Filter materials on compatibility for non-machine-specific materials
This only listens to whether the 'base' XML profile is marked as compatible in its metadata, but since the machine doesn't have its own materials, the base is the only one that exists. This needs to be changed when we change the filtering on fdmprinter, hence the comment in the code. Contributes to issue CURA-2837.
This commit is contained in:
parent
21f1b12ee8
commit
48b57de6df
2 changed files with 3 additions and 1 deletions
|
@ -153,6 +153,7 @@ Menu
|
|||
else
|
||||
{
|
||||
result.definition = "fdmprinter";
|
||||
result.compatible = true; //NB: Only checks for compatibility in global version of material, but we don't have machine-specific materials anyway.
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
|
|
@ -29,7 +29,8 @@ UM.ManagementPage
|
|||
}
|
||||
else
|
||||
{
|
||||
result.definition = "fdmprinter"
|
||||
result.definition = "fdmprinter";
|
||||
result.compatible = true; //NB: Only checks for compatibility in global version of material, but we don't have machine-specific materials anyway.
|
||||
}
|
||||
return result
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue