]> git.tdb.fi Git - libs/gl.git/blobdiff - blender/io_mspgl/__init__.py
Remove the external tech exporter property
[libs/gl.git] / blender / io_mspgl / __init__.py
index a3bedab51e95c70cdd28a62a50c7626177ca8b9d..11a22e9f4ff992be980f29bceb0732866e2c0b6d 100644 (file)
@@ -36,14 +36,9 @@ class ExportMspGLMeshBase(ExportMspGLBase):
        max_strip_len = bpy.props.IntProperty(name="Max strip length", description="Maximum length for a triangle strip", default=1024, min=4, max=16384)
        optimize_cache = bpy.props.BoolProperty(name="Optimize cache", description="Optimize element order for vertex cache", default=True)
        cache_size = bpy.props.IntProperty(name="Cache size", description="Simulated vertex cache size used in optimization", default=64, min=8, max=1024)
-       compound = bpy.props.BoolProperty(name="Compound", description="Combine all selected objects into one for exporting", default=False)
 
        def draw(self, context):
-               col = self.layout.column()
-               col.prop(self, "compound")
-               self.general_col = col
-
-               self.layout.separator()
+               self.general_col = self.layout.column()
 
                col = self.layout.column()
                col.label("Triangle strips")
@@ -74,8 +69,6 @@ class ExportMspGLObject(bpy.types.Operator, ExportMspGLMeshBase):
 
        filename_ext = ".object"
 
-       external_tech = bpy.props.BoolProperty(name="External technique", description="Use an external technique specified in the object's properties", default=True)
-
        textures = bpy.props.EnumProperty(name="Textures", description="Export textures", default="REF",
                items=(("NONE", "None", "Ignore textures"),
                        ("REF", "Referenced", "Reference external data"),
@@ -96,9 +89,9 @@ class ExportMspGLObject(bpy.types.Operator, ExportMspGLMeshBase):
                super().draw(context)
 
                col = self.general_col
-               col.prop(self, "external_tech")
                col.prop(self, "export_lods")
                col.prop(self, "textures")
+               col.separator()
 
                self.layout.separator();
 
@@ -127,7 +120,6 @@ class ExportMspGLScene(bpy.types.Operator, ExportMspGLBase):
 
        filename_ext = ".scene"
 
-       external_tech = bpy.props.BoolProperty(name="External techniques", description="Use external techniques specified in objects' properties", default=True)
        resource_collection = bpy.props.BoolProperty(name="Resource collection", description="Put resources to a single collection file", default=True)
 
        def create_exporter(self):