CURA-5246 Start the timer for updating the platform activity also when

the node that changed is a GCode, that has layer data.
This commit is contained in:
Diego Prado Gesto 2018-04-18 16:53:33 +02:00
parent 83c728c89e
commit ee359571c0

View file

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