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:
authorTon Roosendaal <ton@blender.org>2006-02-14 14:28:13 +0300
committerTon Roosendaal <ton@blender.org>2006-02-14 14:28:13 +0300
commit9da59fdb5afd38556e84e6bf111361d6ada711aa (patch)
tree8e4fa4dae088aaf436dbdb2a418ae0294d514168 /source/blender/src/interface_draw.c
parent86511abe5a52f18b2b95ad47aa7b1c8b364387d9 (diff)
Bug fix: copying a scene, choosing 'empty scene' did a corrupt copy of the
scene render layers Little feat: Render Result Nodes that use other scene, have icon in button to indicate this.
Diffstat (limited to 'source/blender/src/interface_draw.c')
-rw-r--r--source/blender/src/interface_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/interface_draw.c b/source/blender/src/interface_draw.c
index 450181a1e99..d35e87753ee 100644
--- a/source/blender/src/interface_draw.c
+++ b/source/blender/src/interface_draw.c
@@ -1524,7 +1524,7 @@ static void ui_draw_text_icon(uiBut *but)
if ( (but->flag & UI_HAS_ICON) && (but->flag & UI_ICON_LEFT) ) {
ui_draw_icon(but, but->icon);
- if(but->flag & UI_TEXT_LEFT) x= but->x1 + BIF_icon_get_width(but->icon)+4.0;
+ if(but->flag & UI_TEXT_LEFT) x= but->x1 + but->aspect*BIF_icon_get_width(but->icon)+5.0;
else x= (but->x1+but->x2-but->strwidth+1)/2.0;
}
else {