You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parameter right_mode now has type enum.Curve::TangentMode which is great, but it's default value is 0 which results in:
D:\Development\xr_plugins\godot_openvr.4.0\godot-cpp\include\gen\Curve.hpp(73): error C2440: 'default argument': cannot convert from 'int' to 'const godot::Curve::TangentMode'
D:\Development\xr_plugins\godot_openvr.4.0\godot-cpp\include\gen\Curve.hpp(73): note: Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
Steps to reproduce
Try and build godot-cpp using the latest gdnative headers and api.json and vnen's godot 4.0 PR.
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered:
Godot version
4.0.dev 7594150
System information
Any
Issue description
Tested on Godot 4.0 but likely a problem in Godot 3.x now as well.
PR #35847 changed the way parameters are included in the api.json file, but it overlooks defaults.
For instance in class
Curve
:Parameter
right_mode
now has typeenum.Curve::TangentMode
which is great, but it's default value is0
which results in:Steps to reproduce
Try and build
godot-cpp
using the latest gdnative headers and api.json and vnen's godot 4.0 PR.Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: