a-b-street / a-b-street/abstreet
Impossible/impracticable to undo automated filter placement in Design LTN tool
- Ngôn ngữ chính
- Rust
- Star
- 8.2k
- Fork
- 380
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
How to reproduce
=============
- In the Design LTN tool, select a large-ish neighbourhood
- Try automatically placing filters using the following option:
> Advanced -> Automatically place modal filters -> stop the most shortcuts (bute-force)
- Attempt to undo the placement of the filter
Expected behaviour
============
The user should be able to undo the filter placement with a single undo.
Actual behaviour
============
The user may need to select undo > 100 times in order to return to the state before automatically placing the filter.
(It seems that an edit is made and undone for each candidate filter (see https://github.com/a-b-street/abstreet/blob/70002600991c4611d3d905da59173c0b74cee2a6/apps/ltn/src/logic/auto_filters.rs#L105) (~= the number of interior roads in the neighbourhood). This can be > 100, making it impracticable for the user to undo this change later.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.