Blender Git Commit Log

Git Commits -> Revision af72333

Revision af72333 by Philipp Oeser (master)
August 31, 2021, 09:55 (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: af7233368de4eee5b7f0e34b0ff77436d4f9b312
Parent Commit: f6d133e
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