Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'io_scene_3ds')
-rw-r--r--io_scene_3ds/export_3ds.py2
-rw-r--r--io_scene_3ds/import_3ds.py2
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