From d435b02930e520a90a8ec7997fce53cb99d41c0d Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 6 Jun 2006 18:12:29 +0000 Subject: 1 liner, bug that raised an error with textureless materials. --- release/scripts/3ds_import.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'release') 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) -- cgit v1.2.3