mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 21:33:15 +08:00
Remove legacy if check in project loading
CURA-4617
This commit is contained in:
parent
49cac860a8
commit
33a06e13a9
@ -715,7 +715,6 @@ class ThreeMFWorkspaceReader(WorkspaceReader):
|
|||||||
extruder_file_content = archive.open(extruder_stack_file, "r").read().decode("utf-8")
|
extruder_file_content = archive.open(extruder_stack_file, "r").read().decode("utf-8")
|
||||||
|
|
||||||
if self._resolve_strategies["machine"] == "override":
|
if self._resolve_strategies["machine"] == "override":
|
||||||
if global_stack.getProperty("machine_extruder_count", "value") > 1:
|
|
||||||
# deserialize new extruder stack over the current ones (if any)
|
# deserialize new extruder stack over the current ones (if any)
|
||||||
stack = self._overrideExtruderStack(global_stack, extruder_file_content, extruder_stack_file)
|
stack = self._overrideExtruderStack(global_stack, extruder_file_content, extruder_stack_file)
|
||||||
if stack is None:
|
if stack is None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user