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.
This commit is contained in:
2006-02-14 11:28:13 +00:00
parent 86511abe5a
commit 9da59fdb5a
7 changed files with 27 additions and 15 deletions

View File

@@ -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 {