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:
authorCampbell Barton <ideasman42@gmail.com>2019-03-13 08:35:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-03-13 08:41:35 +0300
commit1abd120e70faddadad1b20e2b24dd5e03229806e (patch)
treeee23344f49fa42cf69a22a70db71dc80542b12d7 /source/blender/editors/interface/interface_region_menu_pie.c
parentf1a65f5750d6a7ce040325af49863a15427d39b1 (diff)
Cleanup: rename uiBlock.mx,my to bounds_offset
Use a name that related to block bounds calculation (mx/my are typically used for mouse x,y).
Diffstat (limited to 'source/blender/editors/interface/interface_region_menu_pie.c')
-rw-r--r--source/blender/editors/interface/interface_region_menu_pie.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface_region_menu_pie.c b/source/blender/editors/interface/interface_region_menu_pie.c
index 2631f38d73d..06ea9a7a927 100644
--- a/source/blender/editors/interface/interface_region_menu_pie.c
+++ b/source/blender/editors/interface/interface_region_menu_pie.c
@@ -85,8 +85,8 @@ static uiBlock *ui_block_func_PIE(bContext *UNUSED(C), uiPopupBlockHandle *handl
block->minbounds = minwidth;
block->bounds = 1;
- block->mx = 0;
- block->my = 0;
+ block->bounds_offset[0] = 0;
+ block->bounds_offset[1] = 0;
block->bounds_type = UI_BLOCK_BOUNDS_PIE_CENTER;
block->pie_data.pie_center_spawned[0] = pie->mx;