TheDuckCow / godot-road-generator

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

Minimal RoadPoint data is saved with Scenes #81

Closed bdog2112 closed 1 year ago

bdog2112 commented 1 year ago

In many cases minimal RoadPoint data is saved with Scenes. That means that there is insufficient data to accurately re-create the Scenes when re-opened.

In the following Scene file excerpt we see that a node is missing lanes and _trafficdir data:

[node name="RP_002" type="Spatial" parent="points"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 16 ) script = ExtResource( 3 ) prior_pt_init = NodePath("../RP_001") next_pt_init = NodePath("../RP_003")

Steps to re-create problem are the same as Issue #80. The two Issues are probably related.

bdog2112 commented 1 year ago

Having conducted further research, I think this is a non-issue.

Export variables only get saved in the Scene file if their value is changed from the initial value in their declaration.