From 1224705b0d38aa28ce4765fdff377c5e4ae382bc Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Sun, 28 May 2017 19:49:32 -0300 Subject: [PATCH] Arch: Small fix in site creation --- src/Mod/Arch/ArchSite.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Mod/Arch/ArchSite.py b/src/Mod/Arch/ArchSite.py index 0f72153554..aa57894e4f 100644 --- a/src/Mod/Arch/ArchSite.py +++ b/src/Mod/Arch/ArchSite.py @@ -63,7 +63,11 @@ def makeSite(objectslist=None,baseobj=None,name="Site"): if objectslist: obj.Group = objectslist if baseobj: - obj.Terrain = baseobj + import Part + if isinstance(baseobj,Part.Shape): + obj.Shape = baseobj + else: + obj.Terrain = baseobj return obj