godotengine / godot-cpp

C++ bindings for the Godot script API
MIT License
1.7k stars 528 forks source link

Allow forwarding from `ClassDB` to `ClassDBSingleton` to support enumerations #1445

Closed dsnopek closed 5 months ago

dsnopek commented 5 months ago

This PR aims to fix godot-cpp when used with the enum added to ClassDB in PR https://github.com/godotengine/godot-proposals/issues/9526 (I tested using the extension_api.json from Godot built with that PR)

Since Godot's CI uses godot-cpp for version N-1, this will need to be cherry-picked to the 4.2 branch before the tests will be able to pass on that PR

ZerxZ commented 5 months ago

I tested it, work good.

dsnopek commented 5 months ago

Thanks, Everyone, for the review and testing! :heart:

dsnopek commented 4 months ago

Cherry-picked for 4.2 in PR https://github.com/godotengine/godot-cpp/pull/1465

dsnopek commented 4 months ago

Cherry-picked for 4.1 in PR https://github.com/godotengine/godot-cpp/pull/1466