Skip to content
Snippets Groups Projects
Commit 6367ee99 authored by Michael Williamson's avatar Michael Williamson
Browse files

select by material was broken (would only select first material) fixed!

parent 948a12fa
No related branches found
No related tags found
No related merge requests found
......@@ -146,6 +146,7 @@ def select_material_by_name(find_mat):
if m.material.name == find_mat:
slot_indeces.append(i)
found = True
i += 1
me = ob.data
for f in me.faces:
if f.material_index in slot_indeces:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment