mirror of
https://github.com/EatTheFuture/compify.git
synced 2025-01-22 08:19:14 -05:00
Fixed compatibility with Blender version 4.3
mat.shadow_method is removed from Blender 4.3
This commit is contained in:
parent
ad0ef5842a
commit
4b66e18b7b
@ -161,7 +161,6 @@ def create_compify_material(name, camera, footage):
|
||||
mat = bpy.data.materials.new(name)
|
||||
mat.use_nodes = True
|
||||
mat.blend_method = 'HASHED'
|
||||
mat.shadow_method = 'HASHED'
|
||||
for node in mat.node_tree.nodes:
|
||||
mat.node_tree.nodes.remove(node)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user