Draft: Fixed children being moved together with section planes

This commit is contained in:
Yorik van Havre 2015-03-21 13:23:23 -03:00
parent 05bc4d13e1
commit 6a2a20f64b

View File

@ -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: