Fixed the texture preview to work with multi-output node-based textures.

This commit is contained in:
2009-08-18 19:58:27 +00:00
parent 7d812822bd
commit c9795eae45
11 changed files with 60 additions and 25 deletions

View File

@@ -2065,7 +2065,7 @@ static void widget_draw_extra_mask(const bContext *C, uiBut *but, uiWidgetType *
if(but->block->drawextra) {
/* note: drawextra can change rect +1 or -1, to match round errors of existing previews */
but->block->drawextra(C, but->poin, but->block->drawextra_arg, rect);
but->block->drawextra(C, but->poin, but->block->drawextra_arg1, but->block->drawextra_arg2, rect);
/* make mask to draw over image */
UI_GetThemeColor3ubv(TH_BACK, col);