Merge branch 'master' into blender2.8
[blender.git] / source / blender / depsgraph / intern / builder / deg_builder_relations.cc
index b5a221a2215a7a41845836374bfc7a0d9115025f..8af6b2f3a9701e52dfed51408128321ddb97ac1f 100644 (file)
@@ -1469,7 +1469,7 @@ void DepsgraphRelationBuilder::build_driver_variables(ID *id, FCurve *fcu)
 
        LISTBASE_FOREACH (DriverVar *, dvar, &driver->variables) {
                /* Only used targets. */
-               DRIVER_TARGETS_USED_LOOPER(dvar)
+               DRIVER_TARGETS_USED_LOOPER_BEGIN(dvar)
                {
                        if (dtar->id == NULL) {
                                continue;
@@ -1543,7 +1543,7 @@ void DepsgraphRelationBuilder::build_driver_variables(ID *id, FCurve *fcu)
                                 * is an incomplete target reference, so nothing to do here. */
                        }
                }
-               DRIVER_TARGETS_LOOPER_END
+               DRIVER_TARGETS_LOOPER_END;
        }
 }