diff options
author | M Bouchard Guillaume <guillaume.bouchard@liris.cnrs.fr> | 2011-01-21 16:46:37 +0300 |
---|---|---|
committer | M Bouchard Guillaume <guillaume.bouchard@liris.cnrs.fr> | 2011-01-21 16:46:37 +0300 |
commit | 136aca7c6e711770c5fcd7f80512ec724af79375 (patch) | |
tree | 0a17b9ba266e7bdb37c5aa746abe2ad09436cb61 | |
parent | fa5f389405df615397d3c9e888579b8b5f83fcbe (diff) |
Some cosmetics fixes
- Display the right docstring for ply files
- Add a filter to *.stl on importing stl files
-rw-r--r-- | io_mesh_ply/__init__.py | 2 | ||||
-rw-r--r-- | io_mesh_stl/__init__.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/io_mesh_ply/__init__.py b/io_mesh_ply/__init__.py index e6ad0af1..c653a778 100644 --- a/io_mesh_ply/__init__.py +++ b/io_mesh_ply/__init__.py @@ -46,7 +46,7 @@ from io_utils import ImportHelper, ExportHelper class ImportPLY(bpy.types.Operator, ImportHelper): - '''Load a BVH motion capture file''' + '''Load a PLY geometry file''' bl_idname = "import_mesh.ply" bl_label = "Import PLY" diff --git a/io_mesh_stl/__init__.py b/io_mesh_stl/__init__.py index 0a1ca354..8d5297fd 100644 --- a/io_mesh_stl/__init__.py +++ b/io_mesh_stl/__init__.py @@ -71,6 +71,8 @@ class ImportSTL(bpy.types.Operator, ImportHelper): bl_label = "Import STL" filename_ext = ".stl" + + filter_glob = StringProperty(default="*.stl", options={'HIDDEN'}) files = CollectionProperty(name="File Path", description="File path used for importing " |