Changeset View
Changeset View
Standalone View
Standalone View
io_scene_x/export_x.py
| Context not available. | |||||
| def GetMaterialKey(Material, UVTexture, Index): | def GetMaterialKey(Material, UVTexture, Index): | ||||
| Image = None | Image = None | ||||
| if UVTexture != None and UVTexture.data[Index].image != None: | if UVTexture is not None and UVTexture.data[Index].image is not None: | ||||
| Image = UVTexture.data[Index].image if \ | Image = UVTexture.data[Index].image if \ | ||||
| UVTexture.data[Index].image.source == 'FILE' else None | UVTexture.data[Index].image.source == 'FILE' else None | ||||
| Context not available. | |||||