jerrrrycho
a25abe6d5d
fix(editor): stray switch drives told once a frame, by the same switch lookup the deletion uses ( #509 )
...
* fix(editor): tell the stray switch drives once a frame, by the test the deletion uses
stray_drives() was built anew by each caller in a frame (the notice at the
start, the red marks in the view, the list in the switch tool). It now keeps
its list for the frame and builds it again after a step of the undo history.
A drive whose switch shares its name with another switch was listed as
having no switch once the later of the two was deleted: the name went with
the deleted track, and only the deletion looked for the other track of the
name. Both now use switch_drives::standing_switches, which falls back to the
tracks of the scenery when the name finds none.
The switches each drive template throws were read once per file until a
restart. switch_drives::template_switches reads them again when the
templates change (a rescan or a save in the editor), and a file that could
not be read is tried again in a later frame.
Refs #330
* test(editor): the switch lookup of the drives and the cache of the drive templates
Refs #330
* test(editor): include <algorithm> for std::ranges::find
Refs #330
2026-11-26 22:25:59 +01:00
..
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-22 09:55:09 +01:00
2026-11-22 09:55:09 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-10-09 23:39:26 +02:00
2026-11-22 09:55:09 +01:00
2026-11-11 21:34:39 +01:00
2026-10-09 11:54:47 +02:00
2026-11-11 21:34:39 +01:00
2026-11-22 09:55:09 +01:00
2026-11-22 09:55:09 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-10-01 18:41:35 +02:00
2026-10-01 18:41:35 +02:00
2026-11-12 05:04:14 +01:00
2026-11-12 05:04:14 +01:00
2026-11-22 09:55:09 +01:00
2026-11-22 09:55:09 +01:00
2026-11-20 03:38:14 +01:00
feat(editor): fields of work in a row of their own over the toolbar (surroundings, tracks, roads, terrain), twice as high, with bigger bold text, and the tools of the one chosen in the toolbar under it: the edit modes of the node bank, the track tools in groups with the vehicle and the structure gauge, the road tools with what the place tool puts, the terrain tools (sculpt, smooth, chunks, orthophoto); the tool options window keeps the settings of the tool; the node bank shows a big preview of the entry pointed at for a moment, with its model and skin; the green colours by default again; Polish translation
2026-10-09 00:42:17 +02:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-25 05:23:37 +01:00
2026-11-25 05:23:37 +01:00
2026-11-25 05:15:40 +01:00
2026-11-22 09:55:09 +01:00
2026-11-22 09:55:09 +01:00
2026-11-11 21:34:39 +01:00
2026-10-05 01:21:11 +02:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-26 22:25:59 +01:00
2026-11-26 22:25:59 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
Heightmap terrain: .tch chunk packs, streaming with LOD, terrain painting, water and modifiers - terrain/<name>/terrain.yaml + <px>_<pz>.tch packs of 16x16 chunks (250 m, 0.5/1/2/5 m spacing), slices with crc-32 and optional zstd (vendored zstd 1.5.6 in ref/zstd) - heightmap_terrain [name] endheightmap_terrain directive replaces editorterrain - streamer: worker threads, camera + look-ahead loading, geomipmap LOD with skirts, pooled geometry - mat_terrain shader: up to 8 painted layer materials per chunk via texture arrays (opengl33); other renderers fall back to the dominant material - water bodies (outline + level), terrain modifiers (vertical profile shaping kept non-destructive) - F11 Terrain work mode rebuilt: chunks, sculpt, smooth, paint, point spacing, water tools
2026-10-09 21:02:25 +02:00
Heightmap terrain: .tch chunk packs, streaming with LOD, terrain painting, water and modifiers - terrain/<name>/terrain.yaml + <px>_<pz>.tch packs of 16x16 chunks (250 m, 0.5/1/2/5 m spacing), slices with crc-32 and optional zstd (vendored zstd 1.5.6 in ref/zstd) - heightmap_terrain [name] endheightmap_terrain directive replaces editorterrain - streamer: worker threads, camera + look-ahead loading, geomipmap LOD with skirts, pooled geometry - mat_terrain shader: up to 8 painted layer materials per chunk via texture arrays (opengl33); other renderers fall back to the dominant material - water bodies (outline + level), terrain modifiers (vertical profile shaping kept non-destructive) - F11 Terrain work mode rebuilt: chunks, sculpt, smooth, paint, point spacing, water tools
2026-10-09 21:02:25 +02:00
2026-11-22 09:55:09 +01:00
2026-11-22 09:55:09 +01:00
2026-11-15 12:28:41 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00
2026-11-11 21:34:39 +01:00