Page MenuHome

Summary Keyframes can't be selected with Box Selection in the dopesheet (Grease Pencil context)
Closed, ResolvedPublic

Description

System Information
Operating system: Windows-10-10.0.17134 64 Bits
Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 391.35

Blender Version
Broken: version: 2.80 (sub 71), branch: master (modified), commit date: 2019-05-22 11:15, hash: rBb82afb4b016c
Worked: (optional)

Short description of error
In the Dopesheet, the Summary Keyframes can't be selected in Grease Pencil context using Box selection (B key)

Exact steps for others to reproduce the error

  • Open Blender in 2D Animation Template
  • Draw strokes in different frames (1, 10, 20 for example)
  • Try to select the generated summary keyframes in the Dopesheet using Box selection (B key)

Event Timeline

William Reynish (billreynish) triaged this task as Confirmed, Medium priority.Wed, May 22, 5:35 PM

Well, the root cause is that ANIM_animchannel_keyframes_loop can only work with BezTriple keyframes. I think a proper fix requires somehow generalizing it to support the other types - maybe by adding more callbacks for each type, or some other way. Of course a simpler fix could be to hack it in the selection operator - currently it seems all selection of GP and Mask keyframes is hacks instead of using generic code, so it won't become much worse than it is.