Update plugins/SimulationView/SimulationView.py

review fix

Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>
This commit is contained in:
Saumya Jain 2023-12-21 14:30:43 +01:00 committed by GitHub
parent 0de4f612b3
commit 152cb27232
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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