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/__init__.py
parent150f76ea3bf25734f42a2a60d2a170193481ab09 (diff)
update for changes in blender
Diffstat (limited to 'io_mesh_stl/__init__.py')
-rw-r--r--io_mesh_stl/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_mesh_stl/__init__.py b/io_mesh_stl/__init__.py
index 04297d2c..cd1ac79f 100644
--- a/io_mesh_stl/__init__.py
+++ b/io_mesh_stl/__init__.py
@@ -77,7 +77,7 @@ class StlImporter(bpy.types.Operator):
default="")
def execute(self, context):
- objName = bpy.utils.display_name(self.properties.filepath.split("\\")[-1].split("/")[-1])
+ objName = bpy.path.display_name(self.properties.filepath.split("\\")[-1].split("/")[-1])
tris, pts = stl_utils.read_stl(self.properties.filepath)
blender_utils.create_and_link_mesh(objName, tris, pts)