Permalink
Browse files

Merge branch 'public'

  • Loading branch information...
proxeIO committed Oct 13, 2018
2 parents 098d68b + d98f613 commit 55dae2f1cd26944d1007773b7edcf02da768e2b2
Showing with 1 addition and 1 deletion.
  1. +1 −1 addon/interface/name.py
@@ -1488,7 +1488,7 @@ def material(self, context, layout, object, panel):
if slot.material != None:
# textures
textures = [tslot.texture.name for tslot in slot.material.texture_slots if hasattr(tslot, 'texture')]
textures = [tslot.texture.name for tslot in slot.material.texture_slots if hasattr(tslot, 'texture') and tslot.texture]
# is search
if search == '' or re.search(search, slot.material.name, re.I) or [re.search(search, item, re.I) for item in textures if re.search(search, item, re.I) != None]:

0 comments on commit 55dae2f

Please sign in to comment.