Permalink
Browse files

added frame padding to obj output in M objects

  • Loading branch information...
1 parent ff60f89 commit f5924f0f23b0bce95747feb6e7d06a5d55399bb5 @jonathantopf committed Oct 5, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/ms_export.py
View
@@ -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))

0 comments on commit f5924f0

Please sign in to comment.