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:
authorCampbell Barton <ideasman42@gmail.com>2010-08-06 07:47:42 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-08-06 07:47:42 +0400
commitafb4b1e50ed405b2baedecfd22c4b4390d897ecf (patch)
tree93661c540c52b5f510cb5efc1156b3491bbe9645 /io_mesh_stl/stl_utils.py
parent150f76ea3bf25734f42a2a60d2a170193481ab09 (diff)
update for changes in blender
Diffstat (limited to 'io_mesh_stl/stl_utils.py')
-rw-r--r--io_mesh_stl/stl_utils.py2
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)