Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Foster <cdbfoster@gmail.com>2011-08-26 21:37:49 +0400
committerChris Foster <cdbfoster@gmail.com>2011-08-26 21:37:49 +0400
commitbc5f97c15bf51fcc74278ee4c01e9f1e6f07b0de (patch)
tree818d53e143ed0b0379b6d24bfd98b10b5422ce7a
parent63fb11166a31307731723db3a47621089fc456e6 (diff)
- Small fix to strip spaces from names as well.
-rw-r--r--io_export_directx_x.py2
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",