From 4034851a5d2ed5c93a8ebedbf0ef40dab8700d94 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Sat, 16 Dec 2017 10:06:11 -0200 Subject: [PATCH] Arch: bugfix in Panel in non-GUI mode --- src/Mod/Arch/ArchPanel.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Mod/Arch/ArchPanel.py b/src/Mod/Arch/ArchPanel.py index 103de5668f..031a24470c 100644 --- a/src/Mod/Arch/ArchPanel.py +++ b/src/Mod/Arch/ArchPanel.py @@ -73,7 +73,8 @@ def makePanel(baseobj=None,length=0,width=0,thickness=0,placement=None,name="Pan _ViewProviderPanel(obj.ViewObject) if baseobj: obj.Base = baseobj - obj.Base.ViewObject.hide() + if FreeCAD.GuiUp: + obj.Base.ViewObject.hide() if width: obj.Width = width if thickness: