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:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2012-08-29 04:53:29 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2012-08-29 04:53:29 +0400
commit141dd5233ede83a6d3882713c95bba47cee90a68 (patch)
tree23cdf3e596bba784d101f9e32f234b399ffba4b1 /source/blender/editors/space_buttons
parent22b30da565de53a0a1d34079d72b08fdb54ec8e3 (diff)
parent8321acaf439b33cca0b054565be176047d289134 (diff)
Merged changes in the trunk up to revision 50257.
Conflicts resolved: source/blender/blenkernel/CMakeLists.txt
Diffstat (limited to 'source/blender/editors/space_buttons')
-rw-r--r--source/blender/editors/space_buttons/buttons_header.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_buttons/buttons_header.c b/source/blender/editors/space_buttons/buttons_header.c
index 199875fdc7b..4bcd4a933ed 100644
--- a/source/blender/editors/space_buttons/buttons_header.c
+++ b/source/blender/editors/space_buttons/buttons_header.c
@@ -148,7 +148,7 @@ void buttons_header_buttons(const bContext *C, ARegion *ar)
uiBlockEndAlign(block);
/* always as last */
- UI_view2d_totRect_set(&ar->v2d, xco + (UI_UNIT_X / 2), ar->v2d.tot.ymax - ar->v2d.tot.ymin);
+ UI_view2d_totRect_set(&ar->v2d, xco + (UI_UNIT_X / 2), BLI_RCT_SIZE_Y(&ar->v2d.tot));
uiEndBlock(C, block);
uiDrawBlock(C, block);