diff options
author | Bastien Montagne <bastien@blender.org> | 2020-10-09 10:47:40 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2020-10-09 10:47:40 +0300 |
commit | 963b45f57494677aefb2c4ae7f4bb60e06a05dbd (patch) | |
tree | 07fb299d4aa8beafe353fb6e2c06f7ac7518e430 /source/blender | |
parent | 07bd16de5b8319b399e403e0e47c5db3ea4fcc42 (diff) |
Fix T81468: Missing NULL check for F-curve rna_path in versionning code.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenloader/intern/versioning_280.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c index ad6066647d6..ec0ea79811c 100644 --- a/source/blender/blenloader/intern/versioning_280.c +++ b/source/blender/blenloader/intern/versioning_280.c @@ -1201,7 +1201,7 @@ static void do_version_fcurve_hide_viewport_fix(struct ID *UNUSED(id), struct FCurve *fcu, void *UNUSED(user_data)) { - if (!STREQ(fcu->rna_path, "hide")) { + if (fcu->rna_path == NULL || !STREQ(fcu->rna_path, "hide")) { return; } |