Temporary build fix.

This commit is contained in:
Brecht Van Lommel
2011-04-27 16:56:06 +00:00
parent 4e235c184b
commit 7b2a13aced
2 changed files with 6 additions and 0 deletions

View File

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

View File

@@ -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);
}