diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-11-14 16:17:05 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-11-14 16:17:05 +0400 |
commit | e86e443caf949b6060196fe066756af866617620 (patch) | |
tree | f2c855934a0bff630baa14a841269dd67b9f0393 /io_scene_3ds | |
parent | 81ef518e009705d1cfbf4843e06c74553fd26f92 (diff) |
use alternate syntax to clear lists
Diffstat (limited to 'io_scene_3ds')
-rw-r--r-- | io_scene_3ds/export_3ds.py | 2 | ||||
-rw-r--r-- | io_scene_3ds/import_3ds.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/io_scene_3ds/export_3ds.py b/io_scene_3ds/export_3ds.py index f7ecf216..e7f624ac 100644 --- a/io_scene_3ds/export_3ds.py +++ b/io_scene_3ds/export_3ds.py @@ -1156,7 +1156,7 @@ def save(operator, file.close() # Clear name mapping vars, could make locals too - name_unique[:] = [] + del name_unique[:] name_mapping.clear() # Debugging only: report the exporting time: diff --git a/io_scene_3ds/import_3ds.py b/io_scene_3ds/import_3ds.py index 0da6822b..c400bbd9 100644 --- a/io_scene_3ds/import_3ds.py +++ b/io_scene_3ds/import_3ds.py @@ -859,7 +859,7 @@ def load_3ds(filepath, if IMPORT_CONSTRAIN_BOUNDS: BOUNDS_3DS[:] = [1 << 30, 1 << 30, 1 << 30, -1 << 30, -1 << 30, -1 << 30] else: - BOUNDS_3DS[:] = [] + del BOUNDS_3DS[:] ##IMAGE_SEARCH |