From b9128900f3b642097d049d14c80c5a00b55605b3 Mon Sep 17 00:00:00 2001 From: Dustin Carlino Date: Thu, 4 Aug 2022 12:42:19 +0100 Subject: [PATCH] Handle LTN map edits and the proletariat robot demand model clashing --- apps/ltn/src/impact/ui.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/ltn/src/impact/ui.rs b/apps/ltn/src/impact/ui.rs index 75252eeeea..930a53171a 100644 --- a/apps/ltn/src/impact/ui.rs +++ b/apps/ltn/src/impact/ui.rs @@ -45,6 +45,10 @@ impl ShowResults { ); } 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( &app.map, &mut XorShiftRng::seed_from_u64(42),