mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Remove "lambert1" assignment, because our models are published with lambert1 applied there's no need to force assign it. This also fixes the "green" shader issue that appears sometimes.
This commit is contained in:
parent
09e5f99723
commit
ce77f611dc
1 changed files with 0 additions and 4 deletions
|
|
@ -27,10 +27,6 @@ class ModelLoader(api.Loader):
|
|||
groupName="{}:{}".format(namespace, name)
|
||||
)
|
||||
|
||||
# Assign default shader to meshes
|
||||
meshes = cmds.ls(nodes, type="mesh")
|
||||
cmds.sets(meshes, forceElement="initialShadingGroup")
|
||||
|
||||
self[:] = nodes
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue