jesuisse / godot-radial-menu-control

Provides a radial menu control
Other
38 stars 9 forks source link

Fixed bug when setting submenu items in script #1

Closed nwroyer closed 2 years ago

nwroyer commented 2 years ago

Added a check to address the case where we're setting items on a RadialMenu that's not in the scene tree yet; this allows submenus to be built dynamically in another script. Prior to this, attempting to set a submenu in code would crash.