operator macro playback (run operator reports in the console)
[blender-staging.git] / source / blender / editors / object / object_edit.c
index 26a8999947514639e51eb024434495376cd5a490..5ad41bd82f87ca2871d8043f951020cb48e090b4 100644 (file)
@@ -747,7 +747,7 @@ static void copy_object_set_idnew(Scene *scene, View3D *v3d, int dupflag)
        
        /* XXX check object pointers */
        for(base= FIRSTBASE; base; base= base->next) {
-               if(TESTBASELIB(v3d, base)) {
+               if(TESTBASELIB_BGMODE(v3d, base)) {
                        ob= base->object;
                        relink_constraints(&ob->constraints);
                        if (ob->pose){