Operating system: Linux-5.4.0-51-generic-x86_64-with-debian-bullseye-sid 64 Bits
Graphics card: GeForce RTX 2080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 450.80.02
Broken: version: 2.91.0 Alpha, branch: master (modified), commit date: 2020-10-20 13:26, hash: rB8319279fdbdd
Worked: never, new feature introduced in rB983ad4210b9e
Short description of error
In the graph editor, deselecting a keyframe activates that keyframe's curve. As a result, that curve's active keyframe becomes the overall active keyframe for that editor.
Exact steps for others to reproduce the error
- Open the attached blend file
- The last X-rotation keyframe is active
- Deselect the middle Y-rotation keyframe, by shift-clicking on it
Expected behaviour: the active key remains the same.
Observed behaviour: the last keyframe of the Y-rotation curve is now active.
I see two solutions here:
- Keep track of the active keyframe separate from the active FCurve. That would even allow for different active keyframes per graph editor (not sure if that's desirable though).
- On de-selecting a keyframe, don't change what is active FCurve. That way both the active FCurve and the active keyframe are determined by selection only, and should stay in sync.