=bmesh= merge from trunk at r36529
[blender.git] / source / blender / blenkernel / intern / sca.c
index 16cef67ea6d2c098c67435e2a193ff573cf9864f..4ee7ee501e1d304eeeca0b1eccd8b6e5a6bc6714 100644 (file)
@@ -594,6 +594,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;
        }