diff --git a/cura/Machines/Models/MachineModelUtils.py b/cura/Machines/Models/MachineModelUtils.py index a23b1ff3a5..b4fff37724 100644 --- a/cura/Machines/Models/MachineModelUtils.py +++ b/cura/Machines/Models/MachineModelUtils.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019 Ultimaker B.V. +# Copyright (c) 2021 Ultimaker B.V. # Cura is released under the terms of the LGPLv3 or higher. from typing import TYPE_CHECKING @@ -34,4 +34,4 @@ def fetchLayerHeight(quality_group: "QualityGroup") -> float: if isinstance(layer_height, SettingFunction): layer_height = layer_height(global_stack) - return float(layer_height) + return round(float(layer_height), 3)