Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Williamson <michaelw@cowtoolsmedia.co.uk>2010-08-08 23:36:45 +0400
committerMichael Williamson <michaelw@cowtoolsmedia.co.uk>2010-08-08 23:36:45 +0400
commit6367ee9946c8bc0ee9e91fc97d8303ce38991fc4 (patch)
tree00299c43349864b11cc6052594f3af209cd89f54 /space_view3d_materials_utils.py
parent948a12fa7157762e373a0f543f689123835e9987 (diff)
select by material was broken (would only select first material) fixed!
Diffstat (limited to 'space_view3d_materials_utils.py')
-rw-r--r--space_view3d_materials_utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/space_view3d_materials_utils.py b/space_view3d_materials_utils.py
index ccd4bb07..909aa8ef 100644
--- a/space_view3d_materials_utils.py
+++ b/space_view3d_materials_utils.py
@@ -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: