Remove unneeded check

CURA-6283
This commit is contained in:
Jaime van Kessel 2019-05-23 16:04:39 +02:00
parent 4a6495a0e6
commit 71d156b175

View file

@ -84,8 +84,6 @@ class ObjectsModel(ListModel):
group_name_prefix = group_name_template.split("#")[0]
for node in DepthFirstIterator(Application.getInstance().getController().getScene().getRoot()): # type: ignore
if not isinstance(node, SceneNode):
continue
if (not node.getMeshData() and not node.callDecoration("getLayerData")) and not node.callDecoration("isGroup"):
continue