This website requires JavaScript.
Issues
Task board
Repositories
Sign In
eu07
/
maszyna
Watch
17
Star
0
Fork
0
You've already forked maszyna
mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced
2026-10-31 20:29:04 +01:00
Code
Issues
156
Wiki
Activity
Files
667e433af929a8b22102d651f03d9434b25f6412
maszyna
/
editor
/
editorTrackShape.cpp
maj00r
ef592e6479
feat(editor): the drive of a switch stands by the tips of its blades, not at the joint before them, and goes with the switch deleted. A drive placed, changed or carried along with its switch is set where the blades begin, as they're shaped or where the diverging track is broken at the tip of a planed blade, along the main track there, its heading and its tilt taken there; the drives the earlier versions of the editor set at the joints are moved there once, as the scenery is opened and the templates are known, with no step of the undo history, to be saved with it. Deleting a switch, a double switch or a set of tracks takes the drives of the switches along in the same step, Ctrl+Z brings them back. The joint before the blades and the tips of the blades of the switch being placed or the one selected are marked across the track in the view, so the tips seen on the photo aren't taken for the start of the switch. Selftests bladetips, drivetips; on a copy of test42 the drive of z1 went from the joint to 1.248 m, deleted with z1, back with Ctrl+Z
2026-10-26 20:40:37 +01:00
27 KiB
Raw
Blame
History
View Raw
Reference in New Issue
View Git Blame
Copy Permalink