Merge pull request #4780 from matthijskooijman/fix-flat-groups-section-view
Arch: Fix section view duplicate rendering of items in groups with only flat objects
This commit is contained in:
@@ -375,9 +375,12 @@ def getSVG(source,
|
||||
drafts.append(o)
|
||||
elif o.isDerivedFrom("Part::Part2DObject"):
|
||||
drafts.append(o)
|
||||
elif o.isDerivedFrom("App::DocumentObjectGroup"):
|
||||
# These will have been expanded by getSectionData already
|
||||
pass
|
||||
elif looksLikeDraft(o):
|
||||
drafts.append(o)
|
||||
elif not o.isDerivedFrom("App::DocumentObjectGroup"):
|
||||
else:
|
||||
nonspaces.append(o)
|
||||
if Draft.getType(o.getLinkedObject()) == "Window": # To support Link of Windows(Doors)
|
||||
windows.append(o)
|
||||
|
||||
Reference in New Issue
Block a user