Reset stored layer data as soon as a new slice operation starts

This prevents layer view showing a combination of stale and fresh data

Fixes CURA-1370 (and CURA-1519)
This commit is contained in:
fieldOfView 2016-05-13 13:05:58 +02:00
parent f8c8de86bc
commit 740f3775fa

View File

@ -119,6 +119,7 @@ class CuraEngineBackend(Backend):
## Perform a slice of the scene. ## Perform a slice of the scene.
def slice(self): def slice(self):
self._stored_layer_data = []
if not self._enabled: if not self._enabled:
return return