mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 02:38:59 +08:00
Update plugins/SimulationView/SimulationView.py
review fix Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>
This commit is contained in:
parent
0de4f612b3
commit
152cb27232
@ -243,7 +243,7 @@ class SimulationView(CuraView):
|
|||||||
self.setTime(self._current_time + time_increase)
|
self.setTime(self._current_time + time_increase)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def cumulativeLineDuration(self) -> list:
|
def cumulativeLineDuration(self) -> List[float]:
|
||||||
# Make sure _cumulative_line_duration is initialized properly
|
# Make sure _cumulative_line_duration is initialized properly
|
||||||
if self.getCurrentLayer() not in self._cumulative_line_duration:
|
if self.getCurrentLayer() not in self._cumulative_line_duration:
|
||||||
#clear cache
|
#clear cache
|
||||||
|
Loading…
x
Reference in New Issue
Block a user