Project

General

Profile

Actions

Bug #1276

closed

Add corner roads for ESTYLE_ROAD_ALL_COMBINED

Added by Jakob Ilves 28 days ago. Updated 16 days ago.

Status:
Closed
Priority:
Normal
Category:
client-common
Target version:
Start date:
03/31/2025
Due date:
% Done:

0%

Estimated time:

Description

When working with a custom tileset with railroad that used ESTYLE_ROAD_ALL_COMBINED, it turned out that corner roads for railroad was never rendered even if they were specified in the tileset (and they rendered just fine fine when the same tileset railroads previously were ESTYLE_ROAD_PARITY_COMBINED).

I did a very small change to the file client/tilespec.c which fixed this. Small means just two lines of which one were a comment.

As far as I can tell, this fixed the issue without breaking the rendering of tilesets using ESTYLE_ROAD_ALL_SEPARATE or ESTYLE_ROAD_PARITY_COMBINED.

The change was done to the 3.0.9 source, but as far as I can tell, the context diff will work with client/tilespec.c in 3.1.5 and later as well. (I hope that I am right)


Files

Actions #1

Updated by Marko Lindqvist 28 days ago

- Version of the patch with debug printf() removed, and extra space in the comment removed.

Applies to all branches, including S2_6.

Actions #2

Updated by Marko Lindqvist 16 days ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF