Maniphest T101325

GPencil: Animated Layer Transform does not display correctly when scrubbing if two constant frames
Closed, Duplicate

Assigned To
None
Authored By
Miya San (miya)
Sep 24 2022, 1:21 PM
Tags
  • BF Blender
  • Grease Pencil
Subscribers
Miya San (miya)
Philipp Oeser (lichtwerk)

Description

System Information
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 516.59

Blender Version
Broken: version: 3.30 and 3.4.0 Alpha, branch: master, commit date: 2022-09-21 22:34, hash: rB20dc8393192f

Short description of error
When animating separate layer transforms using constant interpolation or if the duration is only two frame, the animation becomes stuck on the last frame. Results are the same regardless of Object Mode. Selecting a key in the Dopesheet/changing Viewport Shading will temporary display the correct key, but scrubbing will revert back to the stuck frame. Rendering the frame will provide intended results. Adding the Offset Modifier will provide intended results.

Exact steps for others to reproduce the error

  1. Default 2D animation startup.
  2. Draw something.
  3. Put two key frames in Layer Transform, either two frames in duration or with constant interpolation.
  4. Scrub between two key frames.


Event Timeline

Miya San (miya) created this task.Sep 24 2022, 1:21 PM
Miya San (miya) added a project: Grease Pencil.
Philipp Oeser (lichtwerk) added a subscriber: Philipp Oeser (lichtwerk).Sep 25 2022, 1:35 PM

That is the same as T101164: GPencil: framechanging does not evaluate keyframed layer transform correctly (if this would result in identity matrix) in that this fails when the transform is exactly zero.
Will merge reports (there is a patch there for this already).