17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-17 08:39:19 +02:00

feat(editor): more models selected at once (Shift+LMB), moved and turned by the gizmo together, undone in one step; Ctrl+C / Ctrl+V copy the selected models with their groups and paste them at the cursor; Ctrl+G groups the selection, Ctrl+Shift+G takes a group apart, groups written to the scenery as group ... endgroup and loaded as groups of their own; End drops each model of the selection and of their groups onto the ground; menu of the selection at the cursor on Ctrl+RMB; Edit menu with undo, redo, the clipboard, grouping, deleting; Help > Keyboard shortcuts (F1) with the keys of every field of work, F2-F5 choose the fields of work, the tracks menu lists the track tools with their keys, the keys and descriptions in the menus and tooltips; self-test commands for the selection; Polish translation

This commit is contained in:
2026-10-09 01:12:46 +02:00
parent 791d5d052c
commit f94100ffe7
14 changed files with 1354 additions and 78 deletions

View File

@@ -220,12 +220,16 @@ void editor_mode::render_road_menu()
{
if (ImGui::BeginMenu("Roads"))
{
if (ImGui::MenuItem("Road editor", nullptr, &m_roadtool.window) && m_roadtool.window)
if (ImGui::MenuItem("Road editor", "F4", &m_roadtool.window) && m_roadtool.window)
{
m_track_window_open = false;
terrain_workspace(false);
}
if (ImGui::IsItemHovered())
ImGui::SetTooltip("%s", "The roads as the field of work: their tools in the toolbar, their settings in the tool options");
ImGui::MenuItem("Show lanes", nullptr, &m_roadtool.lanes);
if (ImGui::IsItemHovered())
ImGui::SetTooltip("%s", "Draws the lanes of the roads with the ways the vehicles take through the junctions");
ImGui::EndMenu();
}
}