diff options
Diffstat (limited to 'io_mesh_atomic')
-rw-r--r-- | io_mesh_atomic/utility_panel.py | 2 |
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: |