Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation Issues with Curves #2546

Open
mtszkarbowiak opened this issue May 2, 2024 · 0 comments
Open

Compilation Issues with Curves #2546

mtszkarbowiak opened this issue May 2, 2024 · 0 comments
Labels
bug Something isn't working scripting
Milestone

Comments

@mtszkarbowiak
Copy link
Contributor

Issue description:

Declaring API field of any type of curve in a serializable type causes compilation errors.

Steps to reproduce:

Just create this script:

// Headers...
API_CLASS() class GAME_API MySadScript : public Script
{
API_AUTO_SERIALIZATION();
DECLARE_SCRIPTING_TYPE(MySadScript);

API_FIELD() BezierCurve<float> TheCurve;
}

Voila: The project doesn't compile anymore.

Flax version:

1.7.2

@mtszkarbowiak mtszkarbowiak changed the title Compiling Isssues with Curves Compilation Issues with Curves May 2, 2024
@mafiesto4 mafiesto4 added bug Something isn't working scripting labels May 8, 2024
@mafiesto4 mafiesto4 added this to the 1.10 milestone May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working scripting
Projects
None yet
Development

No branches or pull requests

2 participants