Automatically hide unused (=unlinked) node sockets in collapsed ("hidden") nodes...
[blender.git] / source / blender / nodes / shader / node_shader_util.c
index 87585c35e6a4b2b09562aad5bb05a2dbcc2f3bb1..8b8afc3d846138124ef2f3673066e04929b29a3b 100644 (file)
@@ -134,8 +134,6 @@ void ntreeShaderGetTexcoMode(bNodeTree *ntree, int r_mode, short *texco, int *mo
        bNodeSocket *sock;
        int a;
        
-       ntreeSocketUseFlags(ntree);
-
        for(node= ntree->nodes.first; node; node= node->next) {
                if(node->type==SH_NODE_TEXTURE) {
                        if((r_mode & R_OSA) && node->id) {