File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -157,14 +157,14 @@ def getDirectChildren(container):
157
157
children = set (getDirectChildren (obj ))
158
158
result = result - children
159
159
return result
160
+ elif container .isDerivedFrom ("App::Origin" ):
161
+ return container .OriginFeatures + container .Group
160
162
elif container .hasExtension ("App::GroupExtension" ):
161
163
result = container .Group
162
164
if container .hasExtension ("App::OriginGroupExtension" ):
163
165
if container .Origin is not None :
164
166
result .append (container .Origin )
165
167
return result
166
- elif container .isDerivedFrom ("App::Origin" ):
167
- return container .OriginFeatures
168
168
raise ContainerUnsupportedError ("getDirectChildren: unexpected container type!" )
169
169
170
170
def recursiveChildren (container ):
You can’t perform that action at this time.
0 commit comments