]> git.tdb.fi Git - libs/gl.git/blobdiff - blender/io_mspgl/properties.py
Remove some rarely-used export settings
[libs/gl.git] / blender / io_mspgl / properties.py
index f52b97621a2bc4bba1888e0fa0ce1a28f4d5615c..af3194039793bca343c9ce5dd03c8157cdf0b3d8 100644 (file)
@@ -28,6 +28,7 @@ class MspGLMeshProperties(bpy.types.Panel):
 
                self.layout.prop(mesh, "winding_test")
                self.layout.prop(mesh, "smoothing")
+               self.layout.prop(mesh, "use_strips")
 
                self.layout.separator()
 
@@ -158,6 +159,7 @@ def register_properties():
                        ("BLENDER", "Blender", "Use Blender's vertex normals"),
                        ("MSPGL", "MspGL", "Compute vertex normals internally")))
        bpy.types.Mesh.use_lines = bpy.props.BoolProperty(name="Include lines", description="Include edges without faces as lines", default=False)
+       bpy.types.Mesh.use_strips = bpy.props.BoolProperty(name="Use strips", description="Combine the mesh's triangles into triangle strips", default=True)
        bpy.types.Mesh.vertex_groups = bpy.props.BoolProperty(name="Vertex groups", description="Include vertex groups and weights", default=False)
        bpy.types.Mesh.max_groups_per_vertex = bpy.props.IntProperty(name="Max groups", description="Maximum amount of groups per vertex", min=1, max=4, default=2)
        bpy.types.Mesh.use_uv = bpy.props.EnumProperty(name="Use UV", description="Use UV coordinates", default="UNIT0",