mirror of
https://github.com/Ultimaker/Cura.git
synced 2026-01-06 22:57:47 -07:00
Use isinstance() to check if a node is a SceneNode
CURA-4780
This commit is contained in:
parent
8f26784377
commit
33f0e8cb65
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue