diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2021-10-21 23:28:42 +0300 |
---|---|---|
committer | Aaron Carlisle <carlisle.b3d@gmail.com> | 2021-10-22 00:00:38 +0300 |
commit | f45470472fb16b7153795735e7c16ad400a71a07 (patch) | |
tree | bf7727316935183d5ec8ea3b6a0adc311a5c84fc /source/blender/editors/interface | |
parent | 94fb47e57251d662c6cdbcf460c2b52c75b34cb0 (diff) |
Cleanup: Compile warnings
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r-- | source/blender/editors/interface/interface_handlers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c index 1b6fb696a64..52ab13e5cd0 100644 --- a/source/blender/editors/interface/interface_handlers.c +++ b/source/blender/editors/interface/interface_handlers.c @@ -10648,7 +10648,7 @@ static int ui_handle_menu_event(bContext *C, menu->menuretval = UI_RETURN_OUT; } } - else if (saferct && !BLI_rctf_isect_pt_v(&saferct->parent, event->xy)) { + else if (saferct && !BLI_rctf_isect_pt(&saferct->parent, (float)event->xy[0], (float)event->xy[1])) { if (block->flag & UI_BLOCK_OUT_1) { menu->menuretval = UI_RETURN_OK; } |