Temporary build fix.
This commit is contained in:
@@ -558,6 +558,9 @@ void uiTemplateNodeView(uiLayout *layout, bContext *C, ID *id, bNodeTree *ntree,
|
||||
{
|
||||
bNode *tnode;
|
||||
|
||||
if(!ntree)
|
||||
return;
|
||||
|
||||
/* clear for cycle check */
|
||||
for(tnode=ntree->nodes.first; tnode; tnode=tnode->next)
|
||||
tnode->flag &= ~NODE_TEST;
|
||||
|
@@ -2492,5 +2492,8 @@ void uiTemplateReportsBanner(uiLayout *layout, bContext *C)
|
||||
uiBlockSetEmboss(block, UI_EMBOSS);
|
||||
|
||||
uiDefBut(block, LABEL, 0, report->message, UI_UNIT_X+10, 0, UI_UNIT_X+width, UI_UNIT_Y, NULL, 0.0f, 0.0f, 0, 0, "");
|
||||
|
||||
/* XXX linking hack */
|
||||
uiTemplateNodeView(NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user