diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-05-28 21:52:53 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-05-28 21:52:53 +0400 |
commit | 288631d2152d8f86d99d1ff837f3719394c0fb5e (patch) | |
tree | 86c781498cd4981dbb5c790ab61e2f6f6ac25da0 /release | |
parent | 9b88fb13f51b4162272fbbdf7b907cdb43619570 (diff) |
lamp import was broken.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/3ds_import.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/release/scripts/3ds_import.py b/release/scripts/3ds_import.py index a4e9c969300..56acc50e38d 100644 --- a/release/scripts/3ds_import.py +++ b/release/scripts/3ds_import.py @@ -625,9 +625,7 @@ def process_next_chunk(file, previous_chunk, importedObjects, IMAGE_SEARCH): new_chunk.bytes_read+=STRUCT_SIZE_3FLOAT contextLamp[1]= bpy.data.lamps.new() - contextLamp[0]= SCN_OBJECTS.link(contextLamp[1]) - contextLamp[0].link(contextLamp[1]) - ##scn.link(contextLamp[0]) + contextLamp[0]= SCN_OBJECTS.new(contextLamp[1]) importedObjects.append(contextLamp[0]) #print 'number of faces: ', num_faces |