diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-11-09 19:26:58 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-11-09 21:40:43 +0300 |
commit | 221d07864128687858634aebcfb27798a494557a (patch) | |
tree | 98b2dd0bafce927616716b8a0c33f0c9ca0612e9 /source/blender/makesdna/DNA_meta_types.h | |
parent | 983a928e1d481dd91c36f597e2c39daba6d0f8ad (diff) |
Multi-Objects Metaball: Selection refactor - fix pick and box selection
This is inspired/based on the code we use for armature bone selection.
Both pick selection, and box selection should be working now.
Diffstat (limited to 'source/blender/makesdna/DNA_meta_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_meta_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_meta_types.h b/source/blender/makesdna/DNA_meta_types.h index c312d45567f..3f0b1b302c7 100644 --- a/source/blender/makesdna/DNA_meta_types.h +++ b/source/blender/makesdna/DNA_meta_types.h @@ -47,7 +47,8 @@ typedef struct MetaElem { struct BoundBox *bb; /* Bound Box of MetaElem */ - short type, flag, selcol1, selcol2; + short type, flag; + short pad[2]; float x, y, z; /* Position of center of MetaElem */ float quat[4]; /* Rotation of MetaElem (MUST be kept normalized) */ float expx; /* dimension parameters, used for some types like cubes */ |