From ee359571c0833643ce18fa61dc736851875252e3 Mon Sep 17 00:00:00 2001 From: Diego Prado Gesto Date: Wed, 18 Apr 2018 16:53:33 +0200 Subject: [PATCH] CURA-5246 Start the timer for updating the platform activity also when the node that changed is a GCode, that has layer data. --- cura/CuraApplication.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/CuraApplication.py b/cura/CuraApplication.py index c9529f8025..83d6b46228 100755 --- a/cura/CuraApplication.py +++ b/cura/CuraApplication.py @@ -984,7 +984,7 @@ class CuraApplication(QtApplication): return self._i18n_catalog.i18nc("@info 'width', 'depth' and 'height' are variable names that must NOT be translated; just translate the format of ##x##x## mm.", "%(width).1f x %(depth).1f x %(height).1f mm") % {'width' : self._scene_bounding_box.width.item(), 'depth': self._scene_bounding_box.depth.item(), 'height' : self._scene_bounding_box.height.item()} def updatePlatformActivityDelayed(self, node = None): - if node is not None and node.getMeshData() is not None: + if node is not None and (node.getMeshData() is not None or node.callDecoration("getLayerData")): self._update_platform_activity_timer.start() ## Update scene bounding box for current build plate