diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2020-01-24 13:26:02 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2020-01-24 13:39:21 +0300 |
commit | af00fab312361ba62ba52471ae6f9f34505ffd6e (patch) | |
tree | 15d535113c1240a7b6d4a78423a59d6012318c90 /source/blender/blenkernel/BKE_idprop.h | |
parent | 005af1e274599939c71dce4e9fa7e0e64e6b531f (diff) |
IDProps: add utility to set an ID pointer IDProp value.
Diffstat (limited to 'source/blender/blenkernel/BKE_idprop.h')
-rw-r--r-- | source/blender/blenkernel/BKE_idprop.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_idprop.h b/source/blender/blenkernel/BKE_idprop.h index 94c2a94d420..2b02895043f 100644 --- a/source/blender/blenkernel/BKE_idprop.h +++ b/source/blender/blenkernel/BKE_idprop.h @@ -83,6 +83,8 @@ void IDP_FreeString(struct IDProperty *prop) ATTR_NONNULL(); typedef void (*IDPWalkFunc)(void *userData, IDProperty *idp); +void IDP_AssignID(IDProperty *prop, ID *id, const int flag); + /*-------- Group Functions -------*/ /** Sync values from one group to another, only where they match */ |