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:
authorJulian Eisel <eiseljulian@gmail.com>2020-01-26 18:49:44 +0300
committerJulian Eisel <eiseljulian@gmail.com>2020-01-26 18:49:44 +0300
commit47a32a5370d36942674621e5a03e57e8dd4986d8 (patch)
tree7deff40bbbf18a22f142f0a53a5c01eb06257b09 /io_mesh_ply
parent46482944d0e2ba789a38722dbe7b1410f34ca573 (diff)
PLY Import: Hide empty operator properties sidebar in file browser
The sidebar is empty for the PLY importer, so better to hide it.
Diffstat (limited to 'io_mesh_ply')
-rw-r--r--io_mesh_ply/__init__.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/io_mesh_ply/__init__.py b/io_mesh_ply/__init__.py
index cb3afd42..f99dbffb 100644
--- a/io_mesh_ply/__init__.py
+++ b/io_mesh_ply/__init__.py
@@ -71,6 +71,13 @@ class ImportPLY(bpy.types.Operator, ImportHelper):
),
type=bpy.types.OperatorFileListElement)
+ # Hide opertator properties, rest of this is managed in C. See WM_operator_properties_filesel().
+ hide_props_region: BoolProperty(
+ name="Hide Operator Properties",
+ description="Collapse the region displaying the operator settings",
+ default=True,
+ )
+
directory: StringProperty()
filename_ext = ".ply"