diff options
author | Campbell Barton <ideasman42@gmail.com> | 2006-02-25 18:05:36 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2006-02-25 18:05:36 +0300 |
commit | 3f5fd39e289008fa876d8abcf6171321d1016c09 (patch) | |
tree | cea10ad64474a152d3a1f8dbd87a152f9ba49286 /release | |
parent | d9f9e765009d264b43cd93f730bf7730af2d873d (diff) |
removed typos causing MTL loading to fail.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/obj_import.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/obj_import.py b/release/scripts/obj_import.py index 08b4429a1f9..ddb62bee850 100644 --- a/release/scripts/obj_import.py +++ b/release/scripts/obj_import.py @@ -95,7 +95,7 @@ def loadMaterialImage(mat, img_fileName, type, meshDict, dir): texture.setType('Image') # Absolute path - c:\.. etc would work here - image = BPyImage.comprehansiveImageLoad(img_fileName, dir) + image = BPyImage.comprehensiveImageLoad(img_fileName, dir) if image: texture.image = image @@ -641,7 +641,7 @@ def load_obj(file, IMPORT_MTL=1, IMPORT_EDGES=1, IMPORT_SMOOTH_ALL=0): except KeyError: # Not in dict, add for first time. # Image has not been added, Try and load the image - currentImg = BPyImage.comprehansiveImageLoad(newImgName, DIR) # Use join in case of spaces + currentImg = BPyImage.comprehensiveImageLoad(newImgName, DIR) # Use join in case of spaces imageDict[newImgName] = currentImg # These may be None, thats okay. |