diff options
Diffstat (limited to 'io_scene_x/__init__.py')
-rw-r--r-- | io_scene_x/__init__.py | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/io_scene_x/__init__.py b/io_scene_x/__init__.py index 404d9dc2..c8e2bc73 100644 --- a/io_scene_x/__init__.py +++ b/io_scene_x/__init__.py @@ -43,112 +43,112 @@ class ExportDirectX(bpy.types.Operator): bl_idname = "export_scene.x" bl_label = "Export DirectX" - filepath = StringProperty(subtype='FILE_PATH') + filepath: StringProperty(subtype='FILE_PATH') # Export options - SelectedOnly = BoolProperty( + SelectedOnly: BoolProperty( name="Export Selected Objects Only", description="Export only selected objects", default=True) - CoordinateSystem = EnumProperty( + CoordinateSystem: EnumProperty( name="Coordinate System", description="Use the selected coordinate system for export", items=(('LEFT_HANDED', "Left-Handed", "Use a Y up, Z forward system or a Z up, -Y forward system"), ('RIGHT_HANDED', "Right-Handed", "Use a Y up, -Z forward system or a Z up, Y forward system")), default='LEFT_HANDED') - UpAxis = EnumProperty( + UpAxis: EnumProperty( name="Up Axis", description="The selected axis points upward", items=(('Y', "Y", "The Y axis points up"), ('Z', "Z", "The Z axis points up")), default='Y') - ExportMeshes = BoolProperty( + ExportMeshes: BoolProperty( name="Export Meshes", description="Export mesh objects", default=True) - ExportNormals = BoolProperty( + ExportNormals: BoolProperty( name=" Export Normals", description="Export mesh normals", default=True) - FlipNormals = BoolProperty( + FlipNormals: BoolProperty( name=" Flip Normals", description="Flip mesh normals before export", default=False) - ExportUVCoordinates = BoolProperty( + ExportUVCoordinates: BoolProperty( name=" Export UV Coordinates", description="Export mesh UV coordinates, if any", default=True) - ExportMaterials = BoolProperty( + ExportMaterials: BoolProperty( name=" Export Materials", description="Export material properties and reference image textures", default=True) - ExportActiveImageMaterials = BoolProperty( + ExportActiveImageMaterials: BoolProperty( name=" Reference Active Images as Textures", description="Reference the active image of each face as a texture, "\ "as opposed to the image assigned to the material", default=False) - ExportVertexColors = BoolProperty( + ExportVertexColors: BoolProperty( name=" Export Vertex Colors", description="Export mesh vertex colors, if any", default=False) - ExportSkinWeights = BoolProperty( + ExportSkinWeights: BoolProperty( name=" Export Skin Weights", description="Bind mesh vertices to armature bones", default=False) - ApplyModifiers = BoolProperty( + ApplyModifiers: BoolProperty( name=" Apply Modifiers", description="Apply the effects of object modifiers before export", default=False) - ExportArmatureBones = BoolProperty( + ExportArmatureBones: BoolProperty( name="Export Armature Bones", description="Export armatures bones", default=False) - ExportRestBone = BoolProperty( + ExportRestBone: BoolProperty( name=" Export Rest Position", description="Export bones in their rest position (recommended for "\ "animation)", default=False) - ExportAnimation = BoolProperty( + ExportAnimation: BoolProperty( name="Export Animations", description="Export object and bone animations. Data is exported for "\ "every frame", default=False) - IncludeFrameRate = BoolProperty( + IncludeFrameRate: BoolProperty( name=" Include Frame Rate", description="Include the AnimTicksPerSecond template which is "\ "used by some engines to control animation speed", default=False) - ExportActionsAsSets = BoolProperty( + ExportActionsAsSets: BoolProperty( name=" Export Actions as AnimationSets", description="Export each action of each object as a separate "\ "AnimationSet. Otherwise all current actions are lumped "\ "together into a single set", default=False) - AttachToFirstArmature = BoolProperty( + AttachToFirstArmature: BoolProperty( name=" Attach Unused Actions to First Armature", description="Export each unused action as if used by the first "\ "armature object", default=False) - Verbose = BoolProperty( + Verbose: BoolProperty( name="Verbose", description="Run the exporter in debug mode. Check the console for "\ "output", |