TheDuckCow / godot-road-generator

A godot plugin for creating 3D highways and streets.
MIT License
355 stars 18 forks source link

Unexpected RoadLanes created when RoadPoints are moved #154

Closed bdog2112 closed 3 months ago

bdog2112 commented 7 months ago

Observed an issue where unexpected RoadLanes were created. This led to other unexpected behavior.

How to recreate problem:

A 2x2 road should have only 4 RoadLanes.

[Sample Code] var count = 0 for ch in _par.get_children(): if ch is RoadLane: count += 1 print("%s %s has %s RoadLanes" % [Time.get_ticks_msec(), _par.name, count]) return any_generated

TheDuckCow commented 3 months ago

This was inadvertently resolved by https://github.com/TheDuckCow/godot-road-generator/pull/164, closing now