Skip to content

Commit

Permalink
Version 0.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
QuestionableM committed Jan 17, 2023
1 parent f871db5 commit 2390ad7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Blueprint Converter Plugin/AssignMaterialsFunc.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@ def FindNeededNodes(mat_nodes):
for b in range(link_amount):
cur_link = node_links.links[b];

cur_link_socket = cur_link.to_socket.bl_label;
cur_link_socket = cur_link.to_socket.name;
cur_link_node = cur_link.to_node.bl_label;

if cur_link_socket == 'Color' and cur_link_node == 'Normal Map':
nor_node = cur_node;
break;
elif cur_link_socket == 'Color' and cur_link_node == 'Principled BSDF':
elif cur_link_socket == 'Base Color' and cur_link_node == 'Principled BSDF':
dif_node = cur_node;
break;
elif cur_link_socket == 'Float' and cur_link_node == 'Principled BSDF':
elif cur_link_socket == 'Specular' and cur_link_node == 'Principled BSDF':
asg_node = cur_node;
break;

Expand Down
2 changes: 1 addition & 1 deletion Blueprint Converter Plugin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"author" : "Questionable Mark",
"description" : "",
"blender" : (2, 92, 0),
"version" : (0, 0, 7),
"version" : (0, 0, 8),
"location" : "",
"warning" : "",
"category" : "Generic"
Expand Down

0 comments on commit 2390ad7

Please sign in to comment.