Skip to content

Commit

Permalink
making pynode
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsvaes committed Oct 4, 2023
1 parent ac7f888 commit 3a5400d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shader.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ def assign_material(mesh, material):
:param material:
:return:
"""
mesh = pm.PyNode(mesh)
material = pm.PyNode(material)
shading_group = pm.PyNode(material).listConnections(type="shadingEngine")[0]

Expand Down

0 comments on commit 3a5400d

Please sign in to comment.