diff options
author | Chris Foster <cdbfoster@gmail.com> | 2011-08-26 21:37:49 +0400 |
---|---|---|
committer | Chris Foster <cdbfoster@gmail.com> | 2011-08-26 21:37:49 +0400 |
commit | bc5f97c15bf51fcc74278ee4c01e9f1e6f07b0de (patch) | |
tree | 818d53e143ed0b0379b6d24bfd98b10b5422ce7a | |
parent | 63fb11166a31307731723db3a47621089fc456e6 (diff) |
- Small fix to strip spaces from names as well.
-rw-r--r-- | io_export_directx_x.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_export_directx_x.py b/io_export_directx_x.py index 76a60d42..1e521d00 100644 --- a/io_export_directx_x.py +++ b/io_export_directx_x.py @@ -74,7 +74,7 @@ def LegalName(Name): import string - NewName = ReplaceSet(Name, string.punctuation, "_") + NewName = ReplaceSet(Name, string.punctuation + " ", "_") if NewName[0].isdigit() or NewName in ["ARRAY", "DWORD", "UCHAR", |