From 49e72d01a19b74ff37401b42a4fba29de06ad711 Mon Sep 17 00:00:00 2001 From: Syres916 <46537884+Syres916@users.noreply.github.com> Date: Wed, 22 Nov 2023 14:17:49 +0000 Subject: [PATCH] [Path] Sanity, change default zero CycleTime from float to string --- src/Mod/Path/Path/Main/Gui/Sanity.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/Path/Path/Main/Gui/Sanity.py b/src/Mod/Path/Path/Main/Gui/Sanity.py index ad49f4ada7..98a08dfb3c 100644 --- a/src/Mod/Path/Path/Main/Gui/Sanity.py +++ b/src/Mod/Path/Path/Main/Gui/Sanity.py @@ -1427,7 +1427,7 @@ class CommandPathSanity: data["items"] = [] for op in obj.Operations.Group: oplabel = op.Label - ctime = op.CycleTime if hasattr(op, "CycleTime") else 0.0 + ctime = op.CycleTime if hasattr(op, "CycleTime") else "00:00:00" cool = op.CoolantMode if hasattr(op, "CoolantMode") else "N/A" o = op @@ -1440,7 +1440,7 @@ class CommandPathSanity: if hasattr(op, "Active") and not op.Active: oplabel = "{} (INACTIVE)".format(oplabel) - ctime = 0.0 + ctime = "00:00:00" if op.Path.BoundBox.isValid(): zmin = FreeCAD.Units.Quantity(