a-b-street / a-b-street/abstreet

Ring has duplicate adjacent points when fastforwarding in tutorial mode

Offen
#1,084 5 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Rust
Sterne
8.2k
Forks
380
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**Steps to Reproduce**

1. Run `cargo run --bin game`
2. Start traffic simulation tutorial
3. Fast forward to tutorial step 7/9
4. Click "Try It"
5. Click the "jump to specific time" button Screenshot 2023-04-30 172317
6. Observe crash

**Log Output**
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Ring has duplicate adjacent points near Pt2D(500, 50)', geom\src\ring.rs:73:24

[abstreet_ring_crash.txt](https://github.com/a-b-street/abstreet/files/11362440/abstreet_ring_crash.txt)

**Expected Behaviour**
Tutorial fast forwards successfully with no crash

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.