Skip to content

Commit

Permalink
Regenerate everything
Browse files Browse the repository at this point in the history
  • Loading branch information
dabreegster committed Dec 31, 2023
1 parent 2c01219 commit 6685b35
Show file tree
Hide file tree
Showing 5 changed files with 2,510 additions and 1,285 deletions.
2 changes: 1 addition & 1 deletion apps/game/src/devtools/kml.rs
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ fn load_objects(
let bldg_lookup: HashMap<String, BuildingID> = map
.all_buildings()
.iter()
.map(|b| (b.orig_id.inner().to_string(), b.id))
.map(|b| (b.orig_id.inner_id().to_string(), b.id))
.collect();
let cs = &app.cs;

Expand Down
2 changes: 1 addition & 1 deletion apps/game/src/edit/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub use self::roads::RoadEditor;
pub use self::routes::RouteEditor;
pub use self::stop_signs::StopSignEditor;
pub use self::traffic_signals::TrafficSignalEditor;
pub use self::validate::{check_blackholes, check_sidewalk_connectivity};
pub use self::validate::{check_sidewalk_connectivity};
use crate::app::{App, Transition};
use crate::common::{tool_panel, CommonState, Warping};
use crate::debug::DebugMode;
Expand Down
2 changes: 1 addition & 1 deletion apps/game/src/info/building.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ fn info_body(ctx: &mut EventCtx, app: &App, details: &mut Details, id: BuildingI
kv.push(("Name", names.get(app.opts.language.as_ref()).to_string()));
}
if app.opts.dev {
kv.push(("OSM ID", format!("{}", b.orig_id.inner())));
kv.push(("OSM ID", format!("{}", b.orig_id.inner_id())));
}

let num_spots = b.num_parking_spots();
Expand Down
4 changes: 2 additions & 2 deletions apps/osm_viewer/src/viewer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ impl Viewer {
col.push(
ctx.style()
.btn_outline
.text(format!("Open OSM ID {}", b.orig_id.inner()))
.text(format!("Open OSM ID {}", b.orig_id.inner_id()))
.build_widget(ctx, format!("open {}", b.orig_id)),
);

Expand Down Expand Up @@ -187,7 +187,7 @@ impl Viewer {
col.push(
ctx.style()
.btn_outline
.text(format!("Open OSM ID {}", pl.osm_id.inner()))
.text(format!("Open OSM ID {}", pl.osm_id.inner_id()))
.build_widget(ctx, format!("open {}", pl.osm_id)),
);

Expand Down

0 comments on commit 6685b35

Please sign in to comment.