CURA-4972 Tweak per review comments

This commit is contained in:
Ian Paschal 2018-03-09 10:36:34 +01:00
parent c278942cec
commit 6bee5bf1b0

View file

@ -139,7 +139,7 @@ class StartSliceJob(Job):
# Don't slice if there is a per object setting with an error value.
for node in DepthFirstIterator(self._scene.getRoot()):
if type(node) is not CuraSceneNode or not node.isSelectable():
if not isinstance(node, CuraSceneNode) or not node.isSelectable():
continue
if self._checkStackForErrors(node.callDecoration("getStack")):