diff options
author | Wayde Moss <wbmoss_dev@yahoo.com> | 2021-01-14 00:49:12 +0300 |
---|---|---|
committer | Wayde Moss <wbmoss_dev@yahoo.com> | 2021-01-14 00:49:12 +0300 |
commit | 8a1df1c7b33fd89260626c0e13f9e6e7d0f2c87e (patch) | |
tree | 007c942ecad15e0fffb5230bb125730f05c8e93b | |
parent | 5065c0e6d5bc490e030ac9f1b0a62c33f32d316a (diff) |
- fix error due to missing NULL checktemp-D10103-nla_support_strip_overlap_during_transform
-rw-r--r-- | source/blender/blenkernel/intern/nla.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/nla.c b/source/blender/blenkernel/intern/nla.c index a77e7a2d800..e540391bd6f 100644 --- a/source/blender/blenkernel/intern/nla.c +++ b/source/blender/blenkernel/intern/nla.c @@ -317,7 +317,7 @@ void BKE_nlatrack_insert_after(ListBase *nla_tracks, * before library overrides. So it must inserted after the last override. */ if (prev == NULL) { NlaTrack *first_track = (NlaTrack *)nla_tracks->first; - if ((first_track->flag & NLATRACK_OVERRIDELIBRARY_LOCAL) == 0) { + if (first_track != NULL && (first_track->flag & NLATRACK_OVERRIDELIBRARY_LOCAL) == 0) { prev = first_track; } } |