Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2018-11-09 19:26:58 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-11-09 21:40:43 +0300
commit221d07864128687858634aebcfb27798a494557a (patch)
tree98b2dd0bafce927616716b8a0c33f0c9ca0612e9 /source/blender/editors/include/ED_mball.h
parent983a928e1d481dd91c36f597e2c39daba6d0f8ad (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/editors/include/ED_mball.h')
-rw-r--r--source/blender/editors/include/ED_mball.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_mball.h b/source/blender/editors/include/ED_mball.h
index 46c34d36efc..47ea3929883 100644
--- a/source/blender/editors/include/ED_mball.h
+++ b/source/blender/editors/include/ED_mball.h
@@ -51,4 +51,11 @@ void ED_mball_editmball_load(struct Object *obedit);
/* editmball_undo.c */
void ED_mball_undosys_type(struct UndoType *ut);
+
+#define MBALLSEL_STIFF (1 << 29)
+#define MBALLSEL_RADIUS (1 << 30)
+#define MBALLSEL_ANY (MBALLSEL_STIFF | MBALLSEL_RADIUS)
+
+#define MBALL_NOSEL (1u << 31u)
+
#endif /* __ED_MBALL_H__ */