[Bf-blender-cvs] [963b45f5749] master: Fix T81468: Missing NULL check for F-curve rna_path in versionning code.
Bastien Montagne
noreply at git.blender.org
Fri Oct 9 09:48:34 CEST 2020
Commit: 963b45f57494677aefb2c4ae7f4bb60e06a05dbd
Author: Bastien Montagne
Date: Fri Oct 9 09:47:40 2020 +0200
Branches: master
https://developer.blender.org/rB963b45f57494677aefb2c4ae7f4bb60e06a05dbd
Fix T81468: Missing NULL check for F-curve rna_path in versionning code.
===================================================================
M source/blender/blenloader/intern/versioning_280.c
===================================================================
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;
}
More information about the Bf-blender-cvs
mailing list