from .datafile import Statement
if self.use_textures and prop.texture:
tex_res = resources[prop.texture.image.name+".tex2d"]
- fn = os.path.basename(prop.texture.image.filepath)
+ from .util import basename
+ fn = basename(prop.texture.image.filepath)
if prop.texture.default_filter and fn:
return Statement(keyword+"_map", fn)
else: