diff options
Diffstat (limited to 'io_mesh_stl/stl_utils.py')
-rw-r--r-- | io_mesh_stl/stl_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_mesh_stl/stl_utils.py b/io_mesh_stl/stl_utils.py index 34db045c..92723e98 100644 --- a/io_mesh_stl/stl_utils.py +++ b/io_mesh_stl/stl_utils.py @@ -222,7 +222,7 @@ if __name__ == '__main__': filenames = sys.argv[sys.argv.index('--') + 1:] for filename in filenames: - objName = bpy.utils.display_name(filename) + objName = bpy.path.display_name(filename) tris, pts = read_stl(filename) blender_utils.create_and_link_mesh(objName, tris, pts) |