Skip to content

Fix the line editor's way picking, blurry aerials, solid objects and objects on drawn-on roads - #137

Merged
turbo-devv merged 6 commits into
mainfrom
fix/issues-nov22
Nov 22, 2026
Merged

turbo-devv merged 6 commits into
mainfrom
fix/issues-nov22

Conversation

@turbo-devv

Copy link
Copy Markdown
Contributor

What changed

Tests

cargo test --release --bin openmapper: 735 passed, 0 failed. The new tests are:

  • a_path_past_the_end_does_not_loop_back_to_the_start, which fails on the old code
  • a_way_found_part_of_the_way_keeps_that_part
  • tiles_round_the_camera_stay_sharp_on_a_big_map
  • a_solid_object_is_fixed_and_its_collision_mesh_reads_back
  • an_object_put_on_a_road_drawn_on_from_an_end_is_drawn

python3 tools/i18n/check.py reports complete, since no UI text changed.

Not tried in OMSI 2 itself, and not checked against the reporters' own maps.

Fixes #135
Fixes #134
Fixes #131
Fixes #130
Fixes #128

…ack to the start

A path clicked after the end of a way picked by hand was put in as a way round between
the first paths of the line wherever it led back into them round the block, so the way
looped back to the start with every click. It now goes where it adds the least driving,
and a way round must take the place of something or mend a gap.

A trip whose way is not found all the way keeps the part found, and picking by hand goes
on from there instead of from nothing. The list of the way's paths opens while picking
and shows more of them. A lane driven against its path's direction no longer hides the
link over it.

Fixes #135
With more than 64 tiles of pictures every tile's overlay went up at 512 pixels
(about 60 cm a pixel on a 300 m tile), so adding the 65th tile suddenly turned
all the imagery blurry, though the files in the imagery folder stay 4096 a side.
Now the tile under the camera goes up at 4096, the eight round it at 2048 and
the sixteen round those at 1024, following the camera; the far tiles keep what
their number allows.

Fixes #134
…and in a test drive

Its .sco said [collision_mesh] but not [fixed], and OMSI 2 builds the collision
shape only for [fixed] objects: any other is a loose body the bus drives through.
A solid object now writes [fixed] beside its collision mesh (once, when the object
it was made from already had one).

Fixes #128
A road drawn on from the free end of another (also each new click while
drawing a road on) counted its chain from 0 again, while it was linked to
the road before it. A row's distance counts from the start of the chain,
and the game - and the view with it - draws no row whose first object lies
before its own spline by the links: an object put on the new road within
the length of the road before it stood nowhere, in the editor as in the
game. Further along the same road it was drawn, so some parts of a road
seemed to swallow what was put on them. The new road's chain now goes on
from the road it was drawn from.

Fixes #131
@turbo-devv
turbo-devv merged commit e8996f0 into main Nov 22, 2026
4 checks passed
@turbo-devv
turbo-devv deleted the fix/issues-nov22 branch November 22, 2026 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant