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_mesh_atomic')
-rw-r--r--io_mesh_atomic/utility_panel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_mesh_atomic/utility_panel.py b/io_mesh_atomic/utility_panel.py
index 776786c8..7fb2d8fa 100644
--- a/io_mesh_atomic/utility_panel.py
+++ b/io_mesh_atomic/utility_panel.py
@@ -190,7 +190,7 @@ def distance():
# In the 'OBJECT' mode
else:
- if len(bpy.context.selected_bases) > 1:
+ if len(bpy.context.selected_objects) > 1:
location1 = bpy.context.selected_objects[0].location
location2 = bpy.context.selected_objects[1].location
else: