Skip to content

Commit

Permalink
Merge pull request #2344 from donmccurdy/refactor/base-color-socket-c…
Browse files Browse the repository at this point in the history
…leanup

refactor(materials): base color socket cleanup
  • Loading branch information
julienduroure committed Sep 12, 2024
2 parents 73b2660 + 0831a72 commit 5c1ccb9
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ def __gather_base_color_factor(blender_material, export_settings):
path_alpha = alpha_info['alphaPath']

base_color_socket = get_socket(blender_material.node_tree, blender_material.use_nodes,"Base Color")
if base_color_socket.socket is None:
base_color_socket = get_socket(blender_material.node_tree, blender_material.use_nodes,"BaseColor")
if base_color_socket.socket is None:
base_color_socket = get_socket(blender_material.node_tree, blender_material.use_nodes,"BaseColor")
if base_color_socket.socket is None:
Expand Down

0 comments on commit 5c1ccb9

Please sign in to comment.