mirror of
https://github.com/Ultimaker/Cura.git
synced 2026-03-09 04:54:41 -06:00
Fix cases of non-updating simulation view
CURA-12871 The removed test condition was only here for optimization, but is not reliable in all cases. It turns out the scene was updated thanks to the BuildVolume object being updated, so mostly by chance. Now it is quite difficult to write a fully relevant test condition that triggers only when necessary, so instead the condition is removed. Since this slot is not called very often anyway, it should not hurt performance significantly.
This commit is contained in:
parent
2e1a12c70a
commit
8b4cee93c9
1 changed files with 0 additions and 2 deletions
|
|
@ -387,8 +387,6 @@ class SimulationView(CuraView):
|
|||
return self._nozzle_node
|
||||
|
||||
def _onSceneChanged(self, node: "SceneNode") -> None:
|
||||
if node.getMeshData() is None:
|
||||
return
|
||||
self.setActivity(False)
|
||||
self._calculateLayerHeightsCache()
|
||||
self.calculateColorSchemeLimits()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue