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

Changing function argument types sets unexpected default values #487

Closed
Naros opened this issue Jul 6, 2024 · 0 comments · Fixed by #499
Closed

Changing function argument types sets unexpected default values #487

Naros opened this issue Jul 6, 2024 · 0 comments · Fixed by #499
Labels
bug/confirmed Bug/regression has been confirmed. cherrypick:2.0 Requires cherry-pick to Orchestrator 2.0 kind/bug A bug or regression in expected behavior.
Milestone

Comments

@Naros
Copy link
Member

Naros commented Jul 6, 2024

Describe the bug

When a user-defined script function is dragged onto the graph canvas and the function argument types are modified, the default value for the pin will sometimes be rendered with <null> for numeric/string data types.

Expected behavior

For user-defined functions, default values should always default to the initial specific Variant subtype value.

Actual behavior

No response

How to Reproduce?

No response

Godot full version

No response

Orchestrator version

No response

Additional information

No response

@Naros Naros added kind/bug A bug or regression in expected behavior. bug/confirmed Bug/regression has been confirmed. cherrypick:2.0 Requires cherry-pick to Orchestrator 2.0 labels Jul 6, 2024
@Naros Naros added this to the 2.1 milestone Jul 6, 2024
Naros added a commit to Naros/godot-orchestrator that referenced this issue Jul 10, 2024
Naros added a commit to Naros/godot-orchestrator that referenced this issue Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/confirmed Bug/regression has been confirmed. cherrypick:2.0 Requires cherry-pick to Orchestrator 2.0 kind/bug A bug or regression in expected behavior.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant