Results: Fix KPC update where no sediment.

setup.py
Pierre-Antoine Rouby 2024-02-20 10:36:18 +01:00
parent 9cc3bb23c0
commit ebc3e938bf
1 changed files with 3 additions and 1 deletions

View File

@ -348,7 +348,9 @@ class PlotKPC(PamhyrPlot):
if not self._init:
self.draw()
self.update_bottom_with_bedload()
if reach.has_sediment():
self.update_bottom_with_bedload()
self.update_water_elevation()
self.update_idle()