Cleanup: use C++'s nullptr instead of our own C NULL define, in C++ code.

This commit is contained in:
Bastien Montagne
2020-06-02 10:32:21 +02:00
parent 428c0f9ad5
commit 6aef27602a

View File

@@ -2867,7 +2867,7 @@ void DepsgraphRelationBuilder::build_driver_relations(IDNode *id_node)
DriverGroupMap driver_groups;
LISTBASE_FOREACH (FCurve *, fcu, &adt->drivers) {
if (fcu->rna_path == NULL) {
if (fcu->rna_path == nullptr) {
continue;
}
// Get the RNA path except the part after the last dot.