def get_unlit_inputs(node_tree, node, additive):
from .util import get_linked_node_and_socket
- if node.type=='GROUP':
- return check_group(node_tree, node, get_unlit_inputs)
- elif node.type=='MIX_SHADER' and not additive:
+ if node.type=='MIX_SHADER' and not additive:
shader1, _ = get_linked_node_and_socket(node_tree, node.inputs[1])
shader2, _ = get_linked_node_and_socket(node_tree, node.inputs[2])
if shader1.type=='BSDF_TRANSPARENT' and shader2.type=='EMISSION':