mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 16:09:01 +08:00
Ignore leftover buildplate/'global' variants.
part of CURA-6802
This commit is contained in:
parent
78effbb191
commit
8412288cb2
@ -937,7 +937,10 @@ class ThreeMFWorkspaceReader(WorkspaceReader):
|
||||
# Take the global variant from the machine info if available.
|
||||
if self._machine_info.variant_info is not None:
|
||||
variant_name = self._machine_info.variant_info.parser["general"]["name"]
|
||||
if variant_name in machine_node.variants:
|
||||
global_stack.variant = machine_node.variants[variant_name].container
|
||||
else:
|
||||
Logger.log("w", "Could not find global variant '{0}'.".format(variant_name))
|
||||
|
||||
for position, extruder_stack in extruder_stack_dict.items():
|
||||
if position not in self._machine_info.extruder_info_dict:
|
||||
|
Loading…
x
Reference in New Issue
Block a user