mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix T69883: Deleting keyframe crashes blender
When delete in multiframe node the active frame gets NULL.
This commit is contained in:
parent
8e62fdbcbd
commit
bdc94ef4b9
1 changed files with 2 additions and 1 deletions
|
|
@ -1185,7 +1185,8 @@ static void gpencil_draw_strokes(GpencilBatchCache *cache,
|
|||
}
|
||||
}
|
||||
|
||||
if ((gpl->actframe->framenum == gpf->framenum) || (!is_multiedit) || (overlay_multiedit)) {
|
||||
if ((gpl->actframe) && (gpl->actframe->framenum == gpf->framenum) || (!is_multiedit) ||
|
||||
(overlay_multiedit)) {
|
||||
/* hide any blend layer */
|
||||
if ((!stl->storage->simplify_blend) || (gpl->blend_mode == eGplBlendMode_Regular)) {
|
||||
/* fill */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue