mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 01:37:51 -06:00
CURA-4461 Set default variant builplate when the new printer is added
This commit is contained in:
parent
10320b7f2e
commit
3a01a407cf
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ class CuraContainerStack(ContainerStack):
|
|||
def setVariantById(self, new_variant_id: str) -> None:
|
||||
variant = self._empty_variant
|
||||
if new_variant_id == "default":
|
||||
new_variant = self.findDefaultVariant()
|
||||
new_variant = self.findDefaultVariantBuildplate() if self.getMetaDataEntry("type") == "machine" else self.findDefaultVariant()
|
||||
if new_variant:
|
||||
variant = new_variant
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue