Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / space_outliner / outliner_tree.c
index 902235779cfb5a3e469a32c40c685cd5d08ebf56..60467854e73095150026d46d45d51cb330a364e8 100644 (file)
@@ -831,7 +831,7 @@ static TreeElement *outliner_add_element(SpaceOops *soops, ListBase *lb, void *i
 
                                        for (dvar = driver->variables.first; dvar; dvar = dvar->next) {
                                                /* loop over all targets used here */
-                                               DRIVER_TARGETS_USED_LOOPER(dvar)
+                                               DRIVER_TARGETS_USED_LOOPER_BEGIN(dvar)
                                                {
                                                        if (lastadded != dtar->id) {
                                                                // XXX this lastadded check is rather lame, and also fails quite badly...
@@ -839,7 +839,7 @@ static TreeElement *outliner_add_element(SpaceOops *soops, ListBase *lb, void *i
                                                                lastadded = dtar->id;
                                                        }
                                                }
-                                               DRIVER_TARGETS_LOOPER_END
+                                               DRIVER_TARGETS_LOOPER_END;
                                        }
                                }
                        }