diff options
author | Martin Poirier <theeth@yahoo.com> | 2010-01-05 06:29:41 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2010-01-05 06:29:41 +0300 |
commit | 22c32973e73363b7179303d601f59bd5c4d17d45 (patch) | |
tree | ed0b7967621c8df9d8a8f63ee11094c835fe2d11 /source/blender/blenkernel/BKE_idprop.h | |
parent | 8f3db6bb241fbc7f01e0ce9f036007f77bf1b5e3 (diff) |
IDGroup utility function to copy a group inside another one
Diffstat (limited to 'source/blender/blenkernel/BKE_idprop.h')
-rw-r--r-- | source/blender/blenkernel/BKE_idprop.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_idprop.h b/source/blender/blenkernel/BKE_idprop.h index 9c7460851cb..7981fadccb6 100644 --- a/source/blender/blenkernel/BKE_idprop.h +++ b/source/blender/blenkernel/BKE_idprop.h @@ -82,6 +82,11 @@ void IDP_UnlinkID(struct IDProperty *prop); /*-------- Group Functions -------*/ +/* + replaces all properties with the same name in a destination group from a source group. +*/ +void IDP_ReplaceGroupInGroup(struct IDProperty *dest, struct IDProperty *src); + /*checks if a property with the same name as prop exists, and if so replaces it. Use this to preserve order!*/ void IDP_ReplaceInGroup(struct IDProperty *group, struct IDProperty *prop); |