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:
Diffstat (limited to 'release/scripts/3ds_import.py')
-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)