|
@@ -270,7 +270,7 @@ class ExtruderManager(QObject):
|
|
|
return []
|
|
|
|
|
|
# Get the extruders of all printable meshes in the scene
|
|
|
- meshes = [node for node in DepthFirstIterator(scene_root) if type(node) is SceneNode and node.isSelectable()]
|
|
|
+ meshes = [node for node in DepthFirstIterator(scene_root) if isinstance(node, SceneNode) and node.isSelectable()]
|
|
|
for mesh in meshes:
|
|
|
extruder_stack_id = mesh.callDecoration("getActiveExtruder")
|
|
|
if not extruder_stack_id:
|