mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-11-23 17:07:12 +03:00
Handle LTN map edits and the proletariat robot demand model clashing
This commit is contained in:
parent
6abdeaf2a3
commit
b9128900f3
@ -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),
|
||||||
|
Loading…
Reference in New Issue
Block a user