Fixed holding tags unit tests.

This commit is contained in:
Markus Lampert
2018-07-01 01:09:00 -07:00
parent 2675b2d225
commit 493cfd2f06

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