mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-14 11:43:13 +08:00
Use isinstance() to check if a node is a SceneNode
CURA-4780
This commit is contained in:
parent
8f26784377
commit
33f0e8cb65
@ -18,7 +18,7 @@ class OneAtATimeIterator(Iterator.Iterator):
|
||||
def _fillStack(self):
|
||||
node_list = []
|
||||
for node in self._scene_node.getChildren():
|
||||
if not issubclass(type(node), SceneNode):
|
||||
if not isinstance(node, SceneNode):
|
||||
continue
|
||||
|
||||
if node.callDecoration("getConvexHull"):
|
||||
|
Loading…
x
Reference in New Issue
Block a user