diff options
author | Bastien Montagne <bastien@blender.org> | 2021-06-16 16:52:56 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2021-06-16 17:09:28 +0300 |
commit | 3953b82030ab75689ece389c02b8c7ca389311b4 (patch) | |
tree | e59c55714e41fe05e442398c8a8d6bf590f2973a /source/blender/editors/include | |
parent | 88aa056d1ac5155b8fa20fb36598c84837bccfc2 (diff) |
Tweaks to Constraints operators poll functions.
Mainly:
* Make `ED_operator_object_active_editable_ex` properly report poll
messages on failure.
* Add `ED_operator_object_active_local_editable_posemode_exclusive` for
bone constraints requiring pure local Object (non-override one).
* General cleanup and adding more poll messages on failures.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/ED_screen.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_screen.h b/source/blender/editors/include/ED_screen.h index addc3628f9e..a611fb50e4e 100644 --- a/source/blender/editors/include/ED_screen.h +++ b/source/blender/editors/include/ED_screen.h @@ -354,6 +354,7 @@ bool ED_operator_uvedit(struct bContext *C); bool ED_operator_uvedit_space_image(struct bContext *C); bool ED_operator_uvmap(struct bContext *C); bool ED_operator_posemode_exclusive(struct bContext *C); +bool ED_operator_object_active_local_editable_posemode_exclusive(struct bContext *C); bool ED_operator_posemode_context(struct bContext *C); bool ED_operator_posemode(struct bContext *C); bool ED_operator_posemode_local(struct bContext *C); |