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

@ -129,8 +129,8 @@ class BuildVolume(SceneNode):
def _onSceneChanged(self, source):
if self._global_container_stack:
# Just ignore the camera scene updates. The build volume won't change because of it!
if not isinstance(source, Camera):
# Ignore anything that is not something we can slice in the first place!
if source.callDecoration("isSliceable"):
self._scene_change_timer.start()
def _onSceneChangeTimerFinished(self):