Handle LTN map edits and the proletariat robot demand model clashing

This commit is contained in:
Dustin Carlino 2022-08-04 12:42:19 +01:00
parent 6abdeaf2a3
commit b9128900f3

View File

@ -45,6 +45,10 @@ impl ShowResults {
); );
} }
ctx.loading_screen("synthesize travel demand model", |ctx, timer| { ctx.loading_screen("synthesize travel demand model", |ctx, timer| {
// TODO Argh, this internally uses the map's pathfinder to estimate mode split.
// Just ignore any edits or pre-existing files.
app.map.keep_pathfinder_despite_edits();
let scenario = ScenarioGenerator::proletariat_robot( let scenario = ScenarioGenerator::proletariat_robot(
&app.map, &app.map,
&mut XorShiftRng::seed_from_u64(42), &mut XorShiftRng::seed_from_u64(42),