diff options
author | Campbell Barton <ideasman42@gmail.com> | 2006-06-06 22:12:29 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2006-06-06 22:12:29 +0400 |
commit | d435b02930e520a90a8ec7997fce53cb99d41c0d (patch) | |
tree | 829f5b8c8550217462d76315d7d13747115167e6 /release/scripts | |
parent | b8c6c1fdf0cf466354b3b7a92380b06307c991e8 (diff) |
1 liner, bug that raised an error with textureless materials.
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/3ds_import.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/3ds_import.py b/release/scripts/3ds_import.py index 6b8701fc918..a26af8cb70c 100644 --- a/release/scripts/3ds_import.py +++ b/release/scripts/3ds_import.py @@ -355,7 +355,7 @@ def process_next_chunk(file, previous_chunk, importedObjects): if img: targetFace.image= img - tempName= contextObName + '_' + matName + tempName= contextObName + '_' + str(matName) # str because we may be None bmesh.name= tempName ob = Object.New('Mesh', tempName) ob.link(bmesh) |