Increase agressiveness of short circuit logic; Just check if the node is slicable

That should also filter out platform, buildVolume and convexHulLNodes
This commit is contained in:
Jaime van Kessel 2019-02-19 18:00:20 +01:00
parent b61bf3df4d
commit 3f18b0b974
3 changed files with 5 additions and 5 deletions

View file

@ -477,7 +477,7 @@ class CuraEngineBackend(QObject, Backend):
#
# \param source The scene node that was changed.
def _onSceneChanged(self, source: SceneNode) -> None:
if not isinstance(source, SceneNode) or isinstance(source, Camera):
if not source.callDecoration("isSliceable"):
return
# This case checks if the source node is a node that contains GCode. In this case the