Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <bastien@blender.org>2020-10-09 10:47:40 +0300
committerBastien Montagne <bastien@blender.org>2020-10-09 10:47:40 +0300
commit963b45f57494677aefb2c4ae7f4bb60e06a05dbd (patch)
tree07fb299d4aa8beafe353fb6e2c06f7ac7518e430
parent07bd16de5b8319b399e403e0e47c5db3ea4fcc42 (diff)
Fix T81468: Missing NULL check for F-curve rna_path in versionning code.
-rw-r--r--source/blender/blenloader/intern/versioning_280.c2
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;
}