Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

added frame padding to obj output in M objects

  • Loading branch information...
commit f5924f0f23b0bce95747feb6e7d06a5d55399bb5 1 parent ff60f89
Jonathan Topf authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 scripts/ms_export.py
4 scripts/ms_export.py
@@ -462,9 +462,9 @@ def __init__(self, params, maya_mesh_name, MTransform_object):
462 462 self.mesh_names = []
463 463
464 464 def add_deform_sample(self, mesh_dir, time):
465   - file_name = '{0}_{1}.obj'.format(self.safe_name, time)
  465 + file_name = '%s_%.3f.obj' % (self.safe_name, time)
466 466 output_file_path = os.path.join(mesh_dir, file_name)
467   - print output_file_path
  467 + print '// writing file', output_file_path
468 468 self.mesh_names.append(ms_commands.export_obj(self.safe_name, output_file_path, overwrite=True))
469 469
470 470

0 comments on commit f5924f0

Please sign in to comment.
Something went wrong with that request. Please try again.