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:
Erwan MATHIEU 2026-02-11 14:18:28 +01:00
parent 2e1a12c70a
commit 8b4cee93c9

View file

@ -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()