diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-05-28 13:35:49 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-05-28 13:35:49 +0400 |
commit | 5d47c3aa6c91c5c9eed71349411ab7a367fe6d35 (patch) | |
tree | d62bd84e2fb4bfa8df0c645513c99792f06b5671 /io_scene_3ds | |
parent | 76f6ab34da8e2d2476b0aa0d913f1fa968bbea69 (diff) |
update for changes in blenders api
Diffstat (limited to 'io_scene_3ds')
-rw-r--r-- | io_scene_3ds/import_3ds.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/io_scene_3ds/import_3ds.py b/io_scene_3ds/import_3ds.py index 967ad2e9..803b8e53 100644 --- a/io_scene_3ds/import_3ds.py +++ b/io_scene_3ds/import_3ds.py @@ -25,8 +25,6 @@ import os import time import struct -from bpy_extras.io_utils import load_image - import bpy import mathutils @@ -240,6 +238,8 @@ def add_texture_to_material(image, texture, material, mapto): def process_next_chunk(file, previous_chunk, importedObjects, IMAGE_SEARCH): + from bpy_extras.image_utils import load_image + #print previous_chunk.bytes_read, 'BYTES READ' contextObName = None contextLamp = [None, None] # object, Data |