More node goodies!
[blender.git] / source / blender / src / header_node.c
index 2d60825730b80510254e9d24b870ae77175231cd..34c6f5e2da9c5fe7dec902260f1dc92a70e1d8e8 100644 (file)
@@ -144,7 +144,7 @@ void node_buttons(ScrArea *sa)
        if(snode->treetype==NTREE_SHADER) {
                if(snode->from) {
                                                                                /* 0, NULL -> pin */
-                       xco= std_libbuttons(block, xco, 0, 0, NULL, B_MATBROWSE, snode->id, snode->from, &(snode->menunr), 
+                       xco= std_libbuttons(block, xco, 0, 0, NULL, B_MATBROWSE, ID_MA, 1, snode->id, snode->from, &(snode->menunr), 
                                           B_MATALONE, B_MATLOCAL, B_MATDELETE, B_AUTOMATNAME, B_KEEPDATA);
                        
                        if(snode->id) {