Skip to content
Snippets Groups Projects
Commit 136aca7c authored by M Bouchard Guillaume's avatar M Bouchard Guillaume
Browse files

Some cosmetics fixes

- Display the right docstring for ply files
- Add a filter to *.stl on importing stl files
parent fa5f3894
No related branches found
No related tags found
No related merge requests found
...@@ -46,7 +46,7 @@ from io_utils import ImportHelper, ExportHelper ...@@ -46,7 +46,7 @@ from io_utils import ImportHelper, ExportHelper
class ImportPLY(bpy.types.Operator, ImportHelper): class ImportPLY(bpy.types.Operator, ImportHelper):
'''Load a BVH motion capture file''' '''Load a PLY geometry file'''
bl_idname = "import_mesh.ply" bl_idname = "import_mesh.ply"
bl_label = "Import PLY" bl_label = "Import PLY"
......
...@@ -71,6 +71,8 @@ class ImportSTL(bpy.types.Operator, ImportHelper): ...@@ -71,6 +71,8 @@ class ImportSTL(bpy.types.Operator, ImportHelper):
bl_label = "Import STL" bl_label = "Import STL"
filename_ext = ".stl" filename_ext = ".stl"
filter_glob = StringProperty(default="*.stl", options={'HIDDEN'})
files = CollectionProperty(name="File Path", files = CollectionProperty(name="File Path",
description="File path used for importing " description="File path used for importing "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment