bl_idname = "export.mspgl_armature"
bl_label = "Export Msp GL armature"
- filename_ext = ".armature"
+ filename_ext = ".arma"
def create_exporter(self):
from .export_armature import ArmatureExporter
base, ext = os.path.splitext(base)
mesh_out = open_output(os.path.join(path, base+".mesh"))
mesh = mesh_export.export(context, mesh_out)
- out_file.write("mesh", "\""+base+".mesh\"")
+ out_file.write("mesh", '"{}.mesh"'.format(base))
else:
out_file.begin("mesh")
mesh = mesh_export.export(context, out_file)