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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2006-06-06 22:12:29 +0400
committerCampbell Barton <ideasman42@gmail.com>2006-06-06 22:12:29 +0400
commitd435b02930e520a90a8ec7997fce53cb99d41c0d (patch)
tree829f5b8c8550217462d76315d7d13747115167e6 /release
parentb8c6c1fdf0cf466354b3b7a92380b06307c991e8 (diff)
1 liner, bug that raised an error with textureless materials.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/3ds_import.py2
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)