Fixed holding tags unit tests.

This commit is contained in:
Markus Lampert
2018-07-01 01:09:00 -07:00
parent c75fc99cf6
commit 3652cee94a

View File

@@ -107,7 +107,7 @@ class Tag:
self.height = math.fabs(height)
self.actualHeight = self.height
self.angle = math.fabs(angle)
self.radius = radius
self.radius = radius if FreeCAD.Units.Quantity == type(radius) else FreeCAD.Units.Quantity(radius, FreeCAD.Units.Length)
self.enabled = enabled
self.isSquare = False