From 6a2a20f64b9d38ca1db697902bd58642c3e3f611 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Sat, 21 Mar 2015 13:23:23 -0300 Subject: [PATCH] Draft: Fixed children being moved together with section planes --- src/Mod/Draft/Draft.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/Draft/Draft.py b/src/Mod/Draft/Draft.py index e08b851f7..124c532a4 100644 --- a/src/Mod/Draft/Draft.py +++ b/src/Mod/Draft/Draft.py @@ -584,8 +584,8 @@ def getMovableChildren(objectslist,recursive=False): recursive is True, all descendents are considered, otherwise only direct children.''' added = [] for obj in objectslist: - if getType(obj) != "Clone": - # clones should never move their children + if not (getType(obj) in ["Clone","SectionPlane"]): + # objects that should never move their children children = obj.OutList if hasattr(obj,"Proxy"): if obj.Proxy: