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:
Diffstat (limited to 'io_mesh_raw/__init__.py')
-rw-r--r--io_mesh_raw/__init__.py28
1 files changed, 23 insertions, 5 deletions
diff --git a/io_mesh_raw/__init__.py b/io_mesh_raw/__init__.py
index 0003378f..76257f98 100644
--- a/io_mesh_raw/__init__.py
+++ b/io_mesh_raw/__init__.py
@@ -70,11 +70,28 @@ class RawExporter(bpy.types.Operator):
bl_idname = "export_mesh.raw"
bl_label = "Export RAW"
- filepath = StringProperty(name="File Path", description="Filepath used for exporting the RAW file", maxlen=1024, default= "", subtype='FILE_PATH')
- check_existing = BoolProperty(name="Check Existing", description="Check and warn on overwriting existing files", default=True, options={'HIDDEN'})
-
- apply_modifiers = BoolProperty(name="Apply Modifiers", description="Use transformed mesh data from each object", default=True)
- triangulate = BoolProperty(name="Triangulate", description="Triangulate quads.", default=True)
+ filepath = StringProperty(
+ name="File Path",
+ description="Filepath used for exporting the RAW file",
+ maxlen=1024,
+ subtype='FILE_PATH',
+ )
+ check_existing = BoolProperty(
+ name="Check Existing",
+ description="Check and warn on overwriting existing files",
+ default=True,
+ options={'HIDDEN'},
+ )
+ apply_modifiers = BoolProperty(
+ name="Apply Modifiers",
+ description="Use transformed mesh data from each object",
+ default=True,
+ )
+ triangulate = BoolProperty(
+ name="Triangulate",
+ description="Triangulate quads.",
+ default=True,
+ )
def execute(self, context):
from . import export_raw
@@ -107,6 +124,7 @@ def register():
bpy.types.INFO_MT_file_import.append(menu_import)
bpy.types.INFO_MT_file_export.append(menu_export)
+
def unregister():
bpy.utils.unregister_module(__name__)