Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / gpencil / gpencil_data.c
index e9b650097816ab01a987abfcdbe2b555e2f52d25..236d6964c26b07c92047ad15a2bc9ffa1a1c2e90 100644 (file)
@@ -1904,7 +1904,7 @@ static void joined_gpencil_fix_animdata_cb(ID *id, FCurve *fcu, void *user_data)
                /* Fix driver references to invalid ID's */
                for (DriverVar *dvar = fcu->driver->variables.first; dvar; dvar = dvar->next) {
                        /* only change the used targets, since the others will need fixing manually anyway */
-                       DRIVER_TARGETS_USED_LOOPER(dvar)
+                       DRIVER_TARGETS_USED_LOOPER_BEGIN(dvar)
                        {
                                /* change the ID's used... */
                                if (dtar->id == src_id) {
@@ -1933,7 +1933,7 @@ static void joined_gpencil_fix_animdata_cb(ID *id, FCurve *fcu, void *user_data)
                                        }
                                }
                        }
-                       DRIVER_TARGETS_LOOPER_END
+                       DRIVER_TARGETS_LOOPER_END;
                }
        }
 }