mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-31 21:39:03 +01:00
feat(editor): the joints of the tracks just changed are checked at once and their faults marked in the view
After a change of the tracks, once the mouse is let go, the joints check looks at the joints of the tracks changed and of the tracks they join, with the limits of the Joints panel: ends almost meeting, steps, kinks, jumps of the cant and of the grade get a marker with the value in the view while the panel is closed, and go away once a later change or an undo puts them right. The check of a track is shared with the panel (joints_check takes the list and the pairs seen), the pairs already looked at are kept by the tool instead of a global. Self-test command jointslive.
This commit is contained in:
@@ -1195,6 +1195,7 @@ void editor_mode::track_captured(TTrack const &Track)
|
||||
void editor_mode::tracks_committed(std::vector<TTrack *> const &Tracks)
|
||||
{
|
||||
nmt_track_changed(Tracks);
|
||||
m_joints.tracks_committed(Tracks);
|
||||
sweeps_committed(Tracks);
|
||||
switch_drives_committed(Tracks);
|
||||
if (m_infra_suspended || false == m_infra.follow)
|
||||
|
||||
Reference in New Issue
Block a user