Fix use of uninitialized variable in node editor.

This commit is contained in:
Brecht Van Lommel
2009-10-19 11:49:23 +00:00
parent a216ce6cf8
commit 23101be4d6

View File

@@ -583,7 +583,7 @@ void ED_node_texture_default(Tex *tx)
void node_tree_from_ID(ID *id, bNodeTree **ntree, bNodeTree **edittree, int *treetype)
{
bNode *node;
bNode *node= NULL;
short idtype= GS(id->name);
if(idtype == ID_MA) {