wpilibsuite / PathWeaver

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

when a new path is clicked on the first waypoint is selected #218

Closed jasondaming closed 3 years ago

jasondaming commented 3 years ago

Closes #214 Closes #196

carbotaniuman commented 3 years ago

LGTM

AustinShalit commented 3 years ago

@jasondaming Can you look at ways we can make it so quickly switching between paths without making edits will not cause the "do you want to save" dialog to show up?

jasondaming commented 3 years ago

okay would that be in this PR or separate?

AustinShalit commented 3 years ago

I think in this PR because I do not see the behavior on the main branch.

jasondaming commented 3 years ago

Normally when you click on a path it doesn't actually activate any of the waypoints. To recreate click on a path then on a waypoint in that path then click on different path.

The problem here is that any time a path is "selected" it is added to the list of paths to be checked for modifications.