mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-17 14:02:27 +00:00
Fix #8056 - Dimensions with CustomUnit" = "Inches - Fractional" should not show 0.
This commit is contained in:
committed by
Thomas Krijnen
parent
13bb8fbb98
commit
1d9df1d90a
@@ -313,7 +313,7 @@ def format_distance(
|
|||||||
if not feet and not add_inches:
|
if not feet and not add_inches:
|
||||||
tx_dist += str(feet) + "'"
|
tx_dist += str(feet) + "'"
|
||||||
|
|
||||||
if not feet and add_inches:
|
if not feet and add_inches and unit_length != "INCHES":
|
||||||
if value < 0:
|
if value < 0:
|
||||||
tx_dist += "-0' - "
|
tx_dist += "-0' - "
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user