Skip to content

Fix wed_add_edges#48

Open
IlyassBa wants to merge 12 commits intoX-Plane:masterfrom
IlyassBa:fix/wed_add_edges
Open

Fix wed_add_edges#48
IlyassBa wants to merge 12 commits intoX-Plane:masterfrom
IlyassBa:fix/wed_add_edges

Conversation

@IlyassBa
Copy link
Contributor

@IlyassBa IlyassBa commented Feb 1, 2026

Hey,

So in this PR i tried to keep all the features as requested.

Key changes:

  1. WED_SceneryPackExport.cpp : Removed the false argument from the call to WED_DoConvertToForest(). This argument previously corresponded to the in_cmd parameter, which has since been removed from the function signature.

  2. WED_GroupCommands.cpp: Replaced false with nullptr in the constructor call for WED_RingFromImage. This aligns with the constructor’s expectations: the relevant parameters are pointers (create and gcp), and the logic inside the constructor checks indirectly whether they are valid (non-null).

meikelm and others added 12 commits December 27, 2025 19:41
… for

line segments when the control points are colocated with the end points.

This lets us use bezier2 for all of our edges (even straight ones) and
get best-possible-performance for the line segment cases.
computes the subsection of every pavement edge not overlapping with some
other pavement edge and creates new .lin files for this.

This code verifies that the bezier intersection code is reasonably
solid but is missing a few things:

1. No good schema for which lines to use
2. Does not handle overlapping interior edges.
3. Does not merge adjacent edges, which would otherwise be useful for
   cutting data size.
for relative pavement priority.  elimination of hidden edges is covered
by "who's on top" logic and we don't need special casing for it.
airport polygon to save edge count.  We also need this to do runway
support next.

Slightly scary is exposing the lowest-export edge choice in the param
plane of the airport nodes.  Since this is unused now, in theory it'd be
UB/broken if anyone was relying on past behavior here.
@IlyassBa IlyassBa changed the title Fix/wed add edges Fix wed_add_edges Feb 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants