Fix T81468: Missing NULL check for F-curve rna_path in versionning code.

This commit is contained in:
Bastien Montagne 2020-10-09 09:47:40 +02:00
parent 07bd16de5b
commit 963b45f574
Notes: blender-bot 2023-02-14 00:13:36 +01:00
Referenced by issue #81468, v2.90.1 Silently crashes with EXCEPTION_ACCESS_VIOLATION while loading .blend file from Blender 2.6x
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}