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>2014-01-14 21:56:37 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-01-14 21:57:27 +0400
commit1908c31b06d8c23ec19ce5f95dc3eb6aa6b3d2f4 (patch)
treeaba286addf70c9dd1da818649f1e4c2ae21fd92d /source/blender/editors/interface
parent43c2b36431518b0a8b492606bacae78fe9fad4ea (diff)
Fix for icon pin drawing too large when (U.pixelsize != 1)
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r--source/blender/editors/interface/interface_panel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_panel.c b/source/blender/editors/interface/interface_panel.c
index a330f31bd34..bc257e852de 100644
--- a/source/blender/editors/interface/interface_panel.c
+++ b/source/blender/editors/interface/interface_panel.c
@@ -573,7 +573,7 @@ void ui_draw_aligned_panel(uiStyle *style, uiBlock *block, const rcti *rect, con
glEnable(GL_BLEND);
UI_icon_draw_aspect(headrect.xmax - ((PNL_ICON * 2.2f) / block->aspect), headrect.ymin + (5.0f / block->aspect),
(panel->flag & PNL_PIN) ? ICON_PINNED : ICON_UNPINNED,
- (block->aspect / UI_DPI_FAC) / U.pixelsize, 1.0f);
+ (block->aspect / UI_DPI_FAC), 1.0f);
glDisable(GL_BLEND);
}