mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-29 15:07:29 +01:00
feat(editor): fields of work chosen in the toolbar, one at a time: edit modes, tracks, signals, vehicle, roads, terrain; Toolset split into Tool options (tools of the field of work and the gizmo), Inspector (what it has selected: node with array and bend, path, road) and Node bank (list only); Scene window with the models of the scenery by layer and group, filtered by name or uuid, a click selects, a double click flies the camera to it; track window replaced by a palette of the track tools in groups (build, by the track, checks) with the tools under it, the selected path in the inspector, results of the speed, joints and infrastructure checks in a docked window; road window split into the tools in tool options and the selection in the inspector; terrain tools moved out of the editor settings into tool options together with the orthophoto settings (map menu opens them), leaving the terrain puts sculpting and chunk editing away; default layout: tool options and scene on the left, inspector on the right, node bank and checks at the bottom; Polish translation
This commit is contained in:
@@ -132,7 +132,6 @@ class nodebank_panel : public ui_panel
|
||||
TRACK
|
||||
};
|
||||
edit_mode mode = MODIFY;
|
||||
int requested_mode{-1}; // tab brought forward on the next frame
|
||||
|
||||
nodebank_panel(std::string const &Name, bool const Isopen);
|
||||
void nodebank_reload();
|
||||
@@ -157,10 +156,6 @@ class nodebank_panel : public ui_panel
|
||||
// shows the set manager window, optionally with specified user set selected
|
||||
void open_sets_window(int const Setid = 0);
|
||||
|
||||
// draws settings of the active edit mode inside its tab
|
||||
std::function<void(edit_mode)> mode_options;
|
||||
// draws sections attached above the mode tabs (gizmo, node properties)
|
||||
std::function<void()> header_sections;
|
||||
|
||||
private:
|
||||
// methods:
|
||||
|
||||
Reference in New Issue
Block a user