diff options
author | Mikhail Rachinskiy <mikhail.rachinskiy@gmail.com> | 2021-05-26 07:22:27 +0300 |
---|---|---|
committer | Mikhail Rachinskiy <mikhail.rachinskiy@gmail.com> | 2021-05-26 07:22:27 +0300 |
commit | ea587cffd123977f5b94ed9cea9e81282b6c9b71 (patch) | |
tree | 532c72ece058d8ec49153094f5a1e5fa00a186d4 | |
parent | fad5186bb6880aadbb0cd9d983035c7890801aa7 (diff) | |
parent | d55fa2e02a195275807a967989d13b99ee1bdc52 (diff) |
Merge branch 'blender-v2.93-release' into master
-rw-r--r-- | io_mesh_stl/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_mesh_stl/__init__.py b/io_mesh_stl/__init__.py index 7af1c2d1..c367946a 100644 --- a/io_mesh_stl/__init__.py +++ b/io_mesh_stl/__init__.py @@ -139,7 +139,7 @@ class ImportSTL(Operator, ImportHelper): bpy.ops.object.select_all(action='DESELECT') for path in paths: - objName = bpy.path.display_name(os.path.basename(path)) + objName = bpy.path.display_name_from_filepath(path) tris, tri_nors, pts = stl_utils.read_stl(path) tri_nors = tri_nors if self.use_facet_normal else None blender_utils.create_and_link_mesh(objName, tris, tri_nors, pts, global_matrix) |