diff --git a/src/Mod/Arch/ArchComponent.py b/src/Mod/Arch/ArchComponent.py index 00fcdbcc3..310b10b2a 100644 --- a/src/Mod/Arch/ArchComponent.py +++ b/src/Mod/Arch/ArchComponent.py @@ -772,7 +772,7 @@ class ViewProviderComponent: if Draft.getType(self.Object) == "Wall": if Draft.getType(s) == "Roof": continue - if (Draft.getType(s) == "Window") or Draft.isCloneOf(s,"Window"): + if (Draft.getType(s) == "Window") or Draft.isClone(s,"Window"): if not swalW: continue c.append(s)