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

Ring has duplicate adjacent points when fastforwarding in tutorial mode

未关闭
#1,084 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Rust
星标
8.2k
派生
380
PR 合并指标
30 天内没有已合并 PR

描述

**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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。