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:
authorCampbell Barton <ideasman42@gmail.com>2018-11-23 02:00:28 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-11-23 02:03:04 +0300
commit7b4f545e282fcd0b2402c45faf13642bc047d1a5 (patch)
treee709d057d856cbb3a1743004b152210528a82935 /source/blender/editors/include
parent7c74f5006a888a4c42c407752fb53c1da8796a9d (diff)
Fix bone selection w/ mixed wpaint & pose mode
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r--source/blender/editors/include/ED_view3d.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/editors/include/ED_view3d.h b/source/blender/editors/include/ED_view3d.h
index f0c805eea8d..78b51dad8d1 100644
--- a/source/blender/editors/include/ED_view3d.h
+++ b/source/blender/editors/include/ED_view3d.h
@@ -383,12 +383,16 @@ typedef enum {
} eV3DSelectMode;
typedef enum {
- /* Don't exclude anything. */
+ /** Don't exclude anything. */
VIEW3D_SELECT_FILTER_NOP = 0,
- /* Don't select objects outside the current mode. */
+ /** Don't select objects outside the current mode. */
VIEW3D_SELECT_FILTER_OBJECT_MODE_LOCK = 1,
+ /** A version of #VIEW3D_SELECT_FILTER_OBJECT_MODE_LOCK that allows pose-bone selection. */
+ VIEW3D_SELECT_FILTER_WPAINT_POSE_MODE_LOCK = 2,
} eV3DSelectObjectFilter;
+eV3DSelectObjectFilter ED_view3d_select_filter_from_mode(const struct Scene *scene, const struct Object *obact);
+
void view3d_opengl_select_cache_begin(void);
void view3d_opengl_select_cache_end(void);