From 7cf8dc254e458fec5ec8db03455e708aff598165 Mon Sep 17 00:00:00 2001 From: Amritpal Singh Date: Tue, 4 Sep 2018 22:16:59 +0530 Subject: [PATCH] Fixed minor bug in Rebar object. --- src/Mod/Arch/ArchRebar.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Mod/Arch/ArchRebar.py b/src/Mod/Arch/ArchRebar.py index ec869d983f..436e86eaf3 100644 --- a/src/Mod/Arch/ArchRebar.py +++ b/src/Mod/Arch/ArchRebar.py @@ -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)