Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <eiseljulian@gmail.com>2015-08-19 21:53:16 +0300
committerJulian Eisel <eiseljulian@gmail.com>2015-08-19 21:53:16 +0300
commit5c659574e643ff825ec02bafad7d7909fb287b4a (patch)
tree252683cbcf40cb6a740121dc03d967d49b1e05e2 /source/blender/editors/interface
parent5668fc0938a9d4e51075c8491383881f434f350f (diff)
Fix T45847: Pie looses focus when mouse cursor passes through a pie button
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r--source/blender/editors/interface/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c
index e435d40a2ef..dcf114383f9 100644
--- a/source/blender/editors/interface/interface.c
+++ b/source/blender/editors/interface/interface.c
@@ -223,7 +223,7 @@ void ui_region_to_window(const ARegion *ar, int *x, int *y)
void ui_region_winrct_get_no_margin(const struct ARegion *ar, struct rcti *r_rect)
{
uiBlock *block = ar->uiblocks.first;
- if (block && block->flag & UI_BLOCK_LOOP) {
+ if (block && (block->flag & UI_BLOCK_LOOP) && (block->flag & UI_BLOCK_RADIAL) == 0) {
BLI_rcti_rctf_copy_floor(r_rect, &block->rect);
BLI_rcti_translate(r_rect, ar->winrct.xmin, ar->winrct.ymin);
}