if not self.inline_data and texture.image.filepath:
tex_res.statements.append(Statement("external_image", os.path.basename(texture.image.filepath)))
if not self.inline_data and texture.image.filepath:
tex_res.statements.append(Statement("external_image", os.path.basename(texture.image.filepath)))