Frictions: Split frictions list at reach split.

This commit is contained in:
parouby committed 2025-09-30 15:54:00 +02:00
1 parent d222842313
commit 2a926a8d73
3 files changed
+40 -2

No files matched your search

+11
View File
@@ -213,6 +213,17 @@ class Friction(SQLSubModel):
return new
def cloned_for(self, reach):
new = Friction(reach=reach, status=self._status)
new.reach = reach
new.begin_rk = self._begin_rk
new.end_rk = self._end_rk
new.begin_strickler = self._begin_strickler
new.end_strickler = self._begin_strickler
return new
def must_be_saved(self):
ssi = self._status.scenario_id