From 5cfbf274bb20ad7dae6ab36cfa971a7030fba3d3 Mon Sep 17 00:00:00 2001 From: Ryo KOYAMA Date: Sat, 6 Jun 2020 18:39:20 +0900 Subject: [PATCH] Arch: Fix bug of exporting into collada file #4362 Enable to export mirrored part into collada file. This is discussed in: https://forum.freecadweb.org/viewtopic.php?f=3&t=30785 The issue is: https://tracker.freecadweb.org/view.php?id=4362 --- src/Mod/Arch/ArchCommands.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Mod/Arch/ArchCommands.py b/src/Mod/Arch/ArchCommands.py index 7ce091084c..7c1952173f 100644 --- a/src/Mod/Arch/ArchCommands.py +++ b/src/Mod/Arch/ArchCommands.py @@ -752,6 +752,8 @@ def pruneIncluded(objectslist,strict=False): pass elif hasattr(parent,"Hosts") and (obj in parent.Hosts): pass + elif hasattr(parent,"TypeId") and (parent.TypeId == "Part::Mirroring"): + pass elif hasattr(parent,"CloneOf"): if parent.CloneOf: if parent.CloneOf.Name != obj.Name: