From 0eb713a7ffb607bf62aec37f371d035da0914772 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Perdig=C3=A3o?= Date: Wed, 9 Oct 2024 14:37:04 -0300 Subject: [PATCH] Fix #5545 --- src/bonsai/bonsai/bim/module/drawing/helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bonsai/bonsai/bim/module/drawing/helper.py b/src/bonsai/bonsai/bim/module/drawing/helper.py index b14bfb1d46..5290e220b5 100644 --- a/src/bonsai/bonsai/bim/module/drawing/helper.py +++ b/src/bonsai/bonsai/bim/module/drawing/helper.py @@ -200,7 +200,7 @@ def format_distance( inches = 0 if not isArea: - add_inches = bool(inches) or not suppress_zero_inches + add_inches = bool(inches) or not suppress_zero_inches or (inches == 0 and frac) tx_dist = "" if feet: tx_dist += str(feet) + "'"