Blender Git Commit Log

Git Commits -> Revision f0b3b67

September 6, 2021, 07:36 (GMT)
Fix T91060: GPencil Time Offset Modifier breaks evaluation time

Caused by {rBf3bf87e5887c}.

When using a GPencil Time Offset Modifier, the bGPDlayer>actframe can be
NULL. This can be determined though, but above optimization commit
skipped getting the active frame in this case entirely (with the
intention to only get it if framenumbers did not match).

Now also call BKE_gpencil_layer_frame_get() if actframe is NULL in order
to fetch a valid one if present.

Maniphest Tasks: T91060

Differential Revision: https://developer.blender.org/D12355

Commit Details:

Full Hash: f0b3b6710c6ae66121deb6d8fd5ee95194b1a643
Parent Commit: ae7ec34
Committed By: Jeroen Bakker
Lines Changed: +1, -1

1 Modified Path:

/source/blender/blenkernel/intern/gpencil_modifier.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021