diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-08-07 11:38:20 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-08-10 18:53:00 +0300 |
commit | 74016d73dbebd8c8a0e1aed70295d1a09037d7eb (patch) | |
tree | f21c0f5f22452072b2c97a0a11aa70cb18d0bd6f /source/blender/editors/interface | |
parent | 9e83283f7312c565e32c68bb544177bbfec7ceb2 (diff) |
WM: drag and drop poll functions can now specify a custom tooltip.
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r-- | source/blender/editors/interface/interface_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_ops.c b/source/blender/editors/interface/interface_ops.c index ec10fc9d494..ae0fe912f95 100644 --- a/source/blender/editors/interface/interface_ops.c +++ b/source/blender/editors/interface/interface_ops.c @@ -1243,7 +1243,7 @@ static void UI_OT_reloadtranslation(wmOperatorType *ot) ot->exec = reloadtranslation_exec; } -bool UI_drop_color_poll(struct bContext *C, wmDrag *drag, const wmEvent *UNUSED(event)) +bool UI_drop_color_poll(struct bContext *C, wmDrag *drag, const wmEvent *UNUSED(event), const char **UNUSED(tooltip)) { /* should only return true for regions that include buttons, for now * return true always */ |