Searched refs:sockDistortion (Results 1 – 1 of 1) sorted by relevance
1242 bNodeSocket *sockDistortion = nodeFindSocket(node, SOCK_IN, "Distortion"); in update_noise_and_wave_distortion() local1243 float *distortion = cycles_node_socket_float_value(sockDistortion); in update_noise_and_wave_distortion()1245 if (socket_is_used(sockDistortion) && sockDistortion->link != NULL) { in update_noise_and_wave_distortion()1246 bNode *distortionInputNode = sockDistortion->link->fromnode; in update_noise_and_wave_distortion()1247 bNodeSocket *distortionInputSock = sockDistortion->link->fromsock; in update_noise_and_wave_distortion()1259 nodeRemLink(ntree, sockDistortion->link); in update_noise_and_wave_distortion()1261 nodeAddLink(ntree, mulNode, mulSockOut, node, sockDistortion); in update_noise_and_wave_distortion()