From 9e0a668a12e0ba51bbb67fa6ae0a38df4e84eb77 Mon Sep 17 00:00:00 2001 From: Bernd Hahnebach Date: Wed, 8 Apr 2020 21:01:24 +0200 Subject: [PATCH] Arch: rebar, fix code error --- src/Mod/Arch/ArchRebar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Arch/ArchRebar.py b/src/Mod/Arch/ArchRebar.py index 0f4c40f921..c9e2168001 100644 --- a/src/Mod/Arch/ArchRebar.py +++ b/src/Mod/Arch/ArchRebar.py @@ -331,11 +331,11 @@ class _Rebar(ArchComponent.Component): ) return if not obj.Amount: - return FreeCAD.Console.PrintError( "No Amount, return without a rebar shape for {}.\n" .format(obj.Name) ) + return father = obj.Host fathershape = None if not father: