X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=blender%2Fio_mspgl%2F__init__.py;h=11a22e9f4ff992be980f29bceb0732866e2c0b6d;hb=35f3540e50fdb9f45cd8e53cbe131610aa030a68;hp=a3bedab51e95c70cdd28a62a50c7626177ca8b9d;hpb=9d8e4aa5a9573b34fe06455af249c762433d47c0;p=libs%2Fgl.git diff --git a/blender/io_mspgl/__init__.py b/blender/io_mspgl/__init__.py index a3bedab5..11a22e9f 100644 --- a/blender/io_mspgl/__init__.py +++ b/blender/io_mspgl/__init__.py @@ -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):