Commit ebc3e938 authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby
Browse files

Results: Fix KPC update where no sediment.

Showing with 3 additions and 1 deletion
+3 -1
...@@ -348,7 +348,9 @@ class PlotKPC(PamhyrPlot): ...@@ -348,7 +348,9 @@ class PlotKPC(PamhyrPlot):
if not self._init: if not self._init:
self.draw() self.draw()
self.update_bottom_with_bedload() if reach.has_sediment():
self.update_bottom_with_bedload()
self.update_water_elevation() self.update_water_elevation()
self.update_idle() self.update_idle()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment