Fix file check

This commit is contained in:
Lubos Lenco 2017-01-13 11:24:35 +01:00
parent 8f03e7679f
commit 071576a7d5

View file

@ -55,8 +55,8 @@ def make_texture(image_node, tex_name):
assets.add(unpack_filepath)
else:
if not os.path.isfile(image.filepath):
log.warn(matname + '/' + image.name + ' - file not found')
if not os.path.isfile(armutils.safe_assetpath(image.filepath)):
log.warn('Material ' + matname + '/' + image.name + ' - file not found(' + image.filepath + ')')
return None
if do_convert: