wpilibsuite / PathWeaver

Desktop application for generating motion paths
Other
64 stars 68 forks source link

Deleting a waypoint does not mark path as modified and offer to save #273

Open natejank opened 2 years ago

natejank commented 2 years ago

Describe the bug
When a waypoint of a path is deleted and the path is otherwise unmodified, the program will not prompt to save the new path. If I then build paths, the program will not prompt to save the updated path, and the old path will be built.

To Reproduce
Steps to reproduce the behavior:

  1. Create a path
  2. Save it
  3. Close and reopen the program
  4. Load the path
  5. right click a waypoint -> Delete
  6. Click another path or click "Build Paths"

Expected behavior
Upon deleting a waypoint, pathweaver should recognize the path as modified and ask to save the updated path when switching to a different path or building.

Desktop (please complete the following information):