scene_res = self.export_scene(context, objs, progress, prototypes=object_prototypes, resources=resources)
refs = scene_res.collect_references()
- from .datafile import Statement
if self.resource_collection:
+ from .datafile import Statement
keywords = { ".mat": "material",
".mesh": "mesh",
".object": "object",
tex_res.statements.append(Statement("min_filter", Token('NEAREST')))
if not self.inline_data and texture.image.filepath:
- from .util import image_name
tex_res.statements.append(Statement("external_image", os.path.basename(texture.image.filepath)))
else:
texdata = ""