bpy-4: update for bpy api 4
This commit is contained in:
parent
e02bab244d
commit
c27b99ff52
2 changed files with 9 additions and 7 deletions
|
@ -105,7 +105,7 @@ def assign_black(bobj):
|
|||
bmat.diffuse_color = (0, 0, 0, 1)
|
||||
principled = bmat.node_tree.nodes['Principled BSDF']
|
||||
principled.inputs['Base Color'].default_value = (0, 0, 0, 1)
|
||||
principled.inputs['Specular'].default_value = 0.0
|
||||
principled.inputs['Specular IOR Level'].default_value = 0.0
|
||||
principled.inputs['Roughness'].default_value = 1.0
|
||||
# prepare for reimport
|
||||
if len(bobj.material_slots) < 1:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue