Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Animation: Fix reset value when adding new Bezier track
Fixes godotengine#81929. In Float and Integer types, there is no subindex – only the primary value. Currently, trying to retrieve a subindex from these types in the Variant leads to a return value of null. To address this, the proposed change ensures that the default value is returned for these types instead of attempting an invalid subindex retrieval.
- Loading branch information