TheDuckCow / godot-road-generator

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

Sometimes "Roads" menu does not display expected elements in the list #163

Open bdog2112 opened 2 months ago

bdog2112 commented 2 months ago

When "Road" elements (e.g. RoadPoint, RoadContainer, RoadManager) are selected, a "Roads" menu should appear in the 3D toolbar.

At a minimum, that menu displays the following items:

It should generally also display the following:

But, for some reason, it frequently does not display the 2nd list of items. In order to get the list to appear, one has to click the root node, then the RoadManager, then the RoadContainer. That generally seems to remedy the situation temporarily.

Will update this post when a consistent method is identified for recreating the problem. Maybe try selecting a nested scene that has a RoadContainer as root in order to trigger the initial condition.

TheDuckCow commented 2 months ago

Hey @bdog2112 thanks for posting. It's intentional that the list of options is more limited when you are interacting/have selected an instanced save scene (ie a roadcontainer). However I will acknowledge on looking at this further right now, that indeed it sometimes needs an extra click to resurface the full list. We might need to more manually ensure we refresh the dropdown list when selections change