mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
GPencil: Fix crash when using time offset modifier
This fixes a mistake in 60bf561d37, which did not account for offset
frames by the time offset modifier.
This commit is contained in:
parent
fe988f6c7f
commit
f0fa90e156
1 changed files with 1 additions and 1 deletions
|
|
@ -689,7 +689,7 @@ static void gpencil_copy_visible_frames_to_eval(Depsgraph *depsgraph, Scene *sce
|
|||
/* Always copy active frame to eval, because the modifiers always evaluate the active frame,
|
||||
* even if it's not visible (e.g. the layer is hidden).*/
|
||||
if (gpl_eval->actframe != NULL) {
|
||||
copy_frame_to_eval_ex(gpf_eval->runtime.gpf_orig, gpl_eval->actframe);
|
||||
copy_frame_to_eval_ex(gpl_eval->actframe->runtime.gpf_orig, gpl_eval->actframe);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue