Fixed minor bug in Rebar object.

This commit is contained in:
Amritpal Singh
2018-09-04 22:16:59 +05:30
committed by wmayer
parent a6a29467a3
commit 7cf8dc254e

View File

@@ -368,10 +368,7 @@ class _Rebar(ArchComponent.Component):
shapes = []
placementlist = []
self.wires = []
if father:
rot = father.Placement.Rotation
else:
rot = FreeCAD.Rotation()
rot = FreeCAD.Rotation()
if obj.Amount == 1:
barplacement = CalculatePlacement(obj.Amount, 1, size, axis, rot, obj.OffsetStart.Value, obj.OffsetEnd.Value)
placementlist.append(barplacement)