+ @staticmethod
+ def eachEnalbeTexturePath(m, dirname):
+ for i, texture in enumerate(m.getTextures()):
+ if (i in m.enabledTextures) and texture and texture.tex and texture.tex.getImage():
+ image=texture.tex.getImage()
+ if not image:
+ continue
+ yield image.getFilename()
+