diff options
author | Hans Goudey <h.goudey@me.com> | 2020-06-30 04:04:45 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-06-30 04:04:45 +0300 |
commit | 5d2005cbb54bf2c53551815eab524ec293f1e8f0 (patch) | |
tree | 0da9175313edb29f62c4316647d75e6336db2ada /source/blender/editors/object/object_intern.h | |
parent | 1d29822fa9a66d318eb42e023d67aa5759f37c1b (diff) |
UI: Add shortcuts for grease pencil modifier panels
See rB1fa40c9f8a81 for more details. The implementation is the same.
The only difference to the mesh modifier commit is a slight rework of
edit_modifier_invoke_properties in order to pass through to check for
other keymap items with the same shortcut.
Diffstat (limited to 'source/blender/editors/object/object_intern.h')
-rw-r--r-- | source/blender/editors/object/object_intern.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/editors/object/object_intern.h b/source/blender/editors/object/object_intern.h index be1c29b0010..afc87c0caba 100644 --- a/source/blender/editors/object/object_intern.h +++ b/source/blender/editors/object/object_intern.h @@ -153,9 +153,10 @@ bool edit_modifier_poll_generic(struct bContext *C, const bool is_editmode_allowed); bool edit_modifier_poll(struct bContext *C); void edit_modifier_properties(struct wmOperatorType *ot); -int edit_modifier_invoke_properties(struct bContext *C, - struct wmOperator *op, - const struct wmEvent *event); +bool edit_modifier_invoke_properties(struct bContext *C, + struct wmOperator *op, + const struct wmEvent *event, + int *r_retval); struct ModifierData *edit_modifier_property_get(struct wmOperator *op, struct Object *ob, int type); |