Skip to content

Misleading description for Animation::copy_track #8255

Closed
godotengine/godot
#83441
@poohcom1

Description

Your Godot version:

4.2dev6

Issue description:

The copy_track method from Animation suggests that the method will copy the track from the parameter to_animation to the base object:

Adds a new track that is a copy of the given track from to_animation.

However, the source code shows that it's the other way around; it copies a track from the base object to to_animation:

https://github.com/godotengine/godot/blob/1ab77f410e5a21dbedb019cdbf723470459e5dbe/scene/resources/animation.cpp#L3795-L3813

URL to the documentation page:

https://docs.godotengine.org/en/latest/classes/class_animation.html#class-animation-method-copy-track

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    area:class referenceIssues and PRs about the class reference, which should be addressed on the Godot engine repositorybug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions