diff --git a/io_scene_niftools/modules/nif_import/property/nodes_wrapper/__init__.py b/io_scene_niftools/modules/nif_import/property/nodes_wrapper/__init__.py index 55452690b..d262a4d72 100644 --- a/io_scene_niftools/modules/nif_import/property/nodes_wrapper/__init__.py +++ b/io_scene_niftools/modules/nif_import/property/nodes_wrapper/__init__.py @@ -300,9 +300,9 @@ def link_normal_node(self, b_texture_node): group_nodes = node_group.nodes # add the in/output nodes input_node = group_nodes.new('NodeGroupInput') - node_group.inputs.new('NodeSocketImage', "Input") + node_group.inputs.new('NodeSocketColor', "Input") output_node = group_nodes.new('NodeGroupOutput') - node_group.outputs.new('NodeSocketImage', "Output") + node_group.outputs.new('NodeSocketColor', "Output") # create the converting nodes separate_node = group_nodes.new("ShaderNodeSeparateRGB") invert_node = group_nodes.new("ShaderNodeInvert")