CURA-4778 Add up to 8 different colors when loading a GCode, since we

support up to 8 extruders in CFP
This commit is contained in:
Diego Prado Gesto 2018-01-09 10:42:03 +01:00
parent 0722465fb9
commit e3e6f301f9
3 changed files with 8 additions and 3 deletions

View file

@ -104,7 +104,7 @@ class SimulationView(View):
title = catalog.i18nc("@info:title", "Simulation View"))
def _resetSettings(self):
self._layer_view_type = 0 # 0 is material color, 1 is color by linetype, 2 is speed
self._layer_view_type = 0 # 0 is material color, 1 is color by linetype, 2 is speed, 3 is layer thickness
self._extruder_count = 0
self._extruder_opacity = [1.0, 1.0, 1.0, 1.0]
self._show_travel_moves = 0