Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/property.c
| Context not available. | |||||
| bProperty *prop; | bProperty *prop; | ||||
| prop = BKE_bproperty_object_get(ob, propc->name); | prop = BKE_bproperty_object_get(ob, propc->name); | ||||
| if (prop) { | if (prop) { | ||||
| BKE_bproperty_free(prop); | |||||
| BLI_remlink(&ob->prop, prop); | BLI_remlink(&ob->prop, prop); | ||||
| BKE_bproperty_free(prop); | |||||
| } | } | ||||
| BLI_addtail(&ob->prop, BKE_bproperty_copy(propc)); | BLI_addtail(&ob->prop, BKE_bproperty_copy(propc)); | ||||
| } | } | ||||
| Context not available. | |||||