diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-06-23 02:18:53 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-06-23 02:18:53 +0300 |
commit | 221c7fdaf088fc209e8c51c07af9323ef807cb0a (patch) | |
tree | f87551114b7b0742b7ede3bb62ca44d4b66cb00f /source/blender/windowmanager/manipulators/intern/wm_manipulator_intern.h | |
parent | 06cc5e499466a9e9085be987b768e453e9c22ad5 (diff) |
Manipulator: fix broken hover option
Hover flag caused manipulators not to update
(Camera DOF works again).
Diffstat (limited to 'source/blender/windowmanager/manipulators/intern/wm_manipulator_intern.h')
-rw-r--r-- | source/blender/windowmanager/manipulators/intern/wm_manipulator_intern.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/windowmanager/manipulators/intern/wm_manipulator_intern.h b/source/blender/windowmanager/manipulators/intern/wm_manipulator_intern.h index 52c47f74a29..1e667913530 100644 --- a/source/blender/windowmanager/manipulators/intern/wm_manipulator_intern.h +++ b/source/blender/windowmanager/manipulators/intern/wm_manipulator_intern.h @@ -43,7 +43,12 @@ bool wm_manipulator_select(bContext *C, struct wmManipulatorMap *mmap, struct wm void wm_manipulator_calculate_scale(struct wmManipulator *mpr, const bContext *C); void wm_manipulator_update(struct wmManipulator *mpr, const bContext *C, const bool refresh_map); -bool wm_manipulator_is_visible(struct wmManipulator *mpr); + +int wm_manipulator_is_visible(struct wmManipulator *mpr); +enum { + WM_MANIPULATOR_IS_VISIBLE_UPDATE = (1 << 0), + WM_MANIPULATOR_IS_VISIBLE_DRAW = (1 << 1), +}; /* -------------------------------------------------------------------- */ /* wmManipulatorGroup */ |