You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was a problem introduced by #1085. It's possible we need to rethink the MapEdits structure with flat commands right now, and be able to batch them together. Maybe something like EditCmd::Multiple(Vec<EditCmd>) (ignoring the recursive type problem).
Ah, I slightly misread the issue -- a related problem is the use of the freehand filter tool. The user can introduce a bunch of new filters with one logical operation, but then has to undo filters individually (in an arbitrary order). That's another case where we'd want to logically batch edits.
How to reproduce
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
abstreet/apps/ltn/src/logic/auto_filters.rs
Line 105 in 7000260
The text was updated successfully, but these errors were encountered: