merge with/from trunk at r35190
[blender.git] / source / blender / blenkernel / intern / sca.c
index c004e2545727dcc60e5ac631e045c736f4870f51..c8a855c8156cab0ca76c7697710be4373a003e5f 100644 (file)
@@ -589,6 +589,15 @@ void set_sca_new_poins_ob(Object *ob)
                                bPropertyActuator *pa= act->data;
                                ID_NEW(pa->ob);
                        }
+                       else if(act->type==ACT_ARMATURE) {
+                               bArmatureActuator *aa = act->data;
+                               ID_NEW(aa->target);
+                               ID_NEW(aa->subtarget);
+                       }
+                       else if(act->type==ACT_PROPERTY) {
+                               bPropertyActuator *pa= act->data;
+                               ID_NEW(pa->ob);
+                       }
                }
                act= act->next;
        }