forked from bartvdbraak/blender
mistake in last commit
This commit is contained in:
parent
88ab193a21
commit
041ce137e2
@ -8,6 +8,8 @@ def active_node_mat(mat):
|
||||
mat_node = mat.active_node_material
|
||||
if mat_node:
|
||||
return mat_node
|
||||
else:
|
||||
return mat
|
||||
|
||||
return None
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user