Skip to content

AnimationPlayer Inspector never displays correct keyframe data for sub-property keyframe tracks (e.g. position:x, scale:y, modulate:a, etc.) #99115

@ImamuraCross

Description

@ImamuraCross

Tested versions

Reproducible in:

Not Reproducible in:

System information

Godot v4.4.dev5 - Windows 10.0.19045 - Multi-window, 3 monitors - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2060 (NVIDIA; 32.0.15.6603) - AMD Ryzen 7 5800X 8-Core Processor (16 threads)

Issue description

Expected

When setting a keyframe for a sub-property, e.g. position:x, its type should be float.
(v4.4.dev2.official [97ef3c8])
image

Problem

The Inspector acts as though the keyframe is still Vector2.
This occurs regardless of whether I selected position:x through the 'Add Track' menu, or simply edited an existing position track name to include :x.
This problem seems to affect all vector-type properties (e.g. scale, modulate, etc.)
(v4.4.dev3.official [f4af820])
Image
image

Workaround

If you set a position:x track, drag the object to a different position in the editor, then set a new keyframe, the animation will play without issue. The Inspector is merely showing the wrong data; the functionality seems to be unaffected.

Steps to reproduce

  1. Open MRP
  2. Examine the two keyframes of the AnimationPlayer in the Inspector.
  3. Confirm that the Inspector displays blank Vector2 data, instead of the correct type: float

(The values of the keyframes in the MRP should instead be: 419.0, and 500.0, respectively.)

Minimal reproduction project (MRP)

animation-player-test.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Ready for review

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions