Page MenuHome

Line Art modifier animation screen refresh problem
Closed, ResolvedPublic

Description

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

Blender Version
Broken: version: 2.93.0 Alpha, branch: master, commit date: 2021-03-17 23:14, hash: rB30b5fd1a3cd5
Worked: -

Short description of error
Line Art modifier do not redraw screen properly in animation if playback starts from 0 frame (it leaves all drawn lines on screen). If playback starts from frame 1 screen refreshes as expected.

Playback from frame 1:

Playback from frame 0:

Exact steps for others to reproduce the error
1 Create simple animation for object (rotation with 2 keyframes)
2 Add Scene (Collection) Line art
3 Start playback from 0 frame in timeline

Event Timeline

Falk David (filedescriptor) changed the task status from Needs Triage to Confirmed.EditedMar 18 2021, 10:36 AM

I can reproduce this on the 2.93.0 Alpha, branch: master, commit date: 2021-03-18 08:16, hash: rBaeff59073b23.

Actually, for me, this happens starting from all frames. Toggling the Edit Mode modifier display fixes the problem though.
EDIT: After I toggle the edit mode button in the modifier, it always happens starting from frame 0. Notice that frame 0 is outside the Start and End frame range.

Confirmed. This happens when you starts playback from behind any active gpencil frames.

Added the commit to fix the issue. This patch includes:

  • When adding gpencil line art, new frame will be always on frame 0.
  • Frames before the first existing frame in gpencil object will not have line art result from the modifier (but bake will fill those frames).