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

Fix default value for curve attributes #1

Merged
merged 2 commits into from
Aug 1, 2024
Merged

Conversation

marklundin
Copy link
Member

This PR fixes an issue with parsing curve attributes when specified without a default value.

Currently the default behaviour is to return { default: []} when no default value is defined in the code. This is inconsistent with current script parsing which expects the default to be excluded from the response.

This PR fixes this, so that the default value is not included. This fixes an upstream UI issue with the curve editor with empty arrays. Tests have been updated to reflect this correct behaviour

@kpal81xd kpal81xd added the bug Something isn't working label Jul 24, 2024
@marklundin marklundin merged commit 3d303d0 into main Aug 1, 2024
1 check passed
@kpal81xd kpal81xd deleted the fix-curve-default branch August 1, 2024 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants