Merge branch 'blender-v2.83-release'

This commit is contained in:
Bastien Montagne 2020-06-02 10:26:14 +02:00
commit b724922f1a
1 changed files with 4 additions and 1 deletions

View File

@ -2889,6 +2889,9 @@ void DepsgraphRelationBuilder::build_driver_relations(IDNode *id_node)
DriverGroupMap driver_groups;
LISTBASE_FOREACH (FCurve *, fcu, &adt->drivers) {
if (fcu->rna_path == NULL) {
continue;
}
// Get the RNA path except the part after the last dot.
char *last_dot = strrchr(fcu->rna_path, '.');
string rna_prefix;
@ -2939,7 +2942,7 @@ void DepsgraphRelationBuilder::build_driver_relations(IDNode *id_node)
}
}
}
}
} // namespace DEG
/* **** ID traversal callbacks functions **** */