Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added frame padding to obj output in M objects

  • Loading branch information...
commit f5924f0f23b0bce95747feb6e7d06a5d55399bb5 1 parent ff60f89
@jonathantopf authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/ms_export.py
View
4 scripts/ms_export.py
@@ -462,9 +462,9 @@ def __init__(self, params, maya_mesh_name, MTransform_object):
self.mesh_names = []
def add_deform_sample(self, mesh_dir, time):
- file_name = '{0}_{1}.obj'.format(self.safe_name, time)
+ file_name = '%s_%.3f.obj' % (self.safe_name, time)
output_file_path = os.path.join(mesh_dir, file_name)
- print output_file_path
+ print '// writing file', output_file_path
self.mesh_names.append(ms_commands.export_obj(self.safe_name, output_file_path, overwrite=True))
Please sign in to comment.
Something went wrong with that request. Please try again.