diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-11-01 10:45:36 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-11-01 10:45:36 +0400 |
commit | bcdcbb65c159cc16b222fc5381e806a6b4f03fb0 (patch) | |
tree | 55d0e97ef22204d56815906773715c719f7ef5c6 /source/blender/makesdna/DNA_object_types.h | |
parent | e3f03d72b6e0a24a2c87e94c68c5f6452ad91e94 (diff) |
macro to check if an object type supports vgroups
Diffstat (limited to 'source/blender/makesdna/DNA_object_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_object_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h index 19eff756ce1..38daf8bae28 100644 --- a/source/blender/makesdna/DNA_object_types.h +++ b/source/blender/makesdna/DNA_object_types.h @@ -321,6 +321,7 @@ typedef struct DupliObject { /* check if the object type supports materials */ #define OB_TYPE_SUPPORT_MATERIAL(_type) ((_type) >= OB_MESH && (_type) <= OB_MBALL) +#define OB_TYPE_SUPPORT_VGROUP(_type) (ELEM(_type, OB_MESH, OB_LATTICE)) /* partype: first 4 bits: type */ #define PARTYPE 15 |