mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-03 01:30:16 +01:00
feat(editor): the tracks are laid to the PKP PLK norms only: the choice of the free laying is gone, its cards in the panels of the laying and of the plan, the question as the laying starts and the setting; the transition curves and the cant of the norms always, the speed of the laying with its chips, the radius below the minimum for the speed a warning. The settings keep the radii the bends of the straights will be eased with instead
This commit is contained in:
@@ -1551,7 +1551,7 @@ void editor_mode::nmt_place_scenery(glm::dvec2 const &Point)
|
||||
void editor_mode::nmt_offer()
|
||||
{
|
||||
auto &state{m_nmt_state};
|
||||
if (state.offered || m_norms_prompt || false == m_lay.active || false == EditorSettings.terrain_offer())
|
||||
if (state.offered || false == m_lay.active || false == EditorSettings.terrain_offer())
|
||||
return;
|
||||
state.offered = true;
|
||||
if (m_streamer.resident() > 0 || std::any_of(simulation::Paths.sequence().begin(), simulation::Paths.sequence().end(), [](TTrack const *Track) { return Track != nullptr && rail(*Track); }))
|
||||
|
||||
Reference in New Issue
Block a user