X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=blender%2Fio_mspgl%2Fproperties.py;h=bc2fb4823f9ace2eed0c8e3962e4b8502ba32aa1;hp=1a158598a37619c0207ba51fa6f6098ec982ba98;hb=171f8e9be4fd17ebc7a467d9a8f959a1bba6b3e6;hpb=386861effd5e84c1a3a8f58f50fc1b1f75dafaa1 diff --git a/blender/io_mspgl/properties.py b/blender/io_mspgl/properties.py index 1a158598..bc2fb482 100644 --- a/blender/io_mspgl/properties.py +++ b/blender/io_mspgl/properties.py @@ -47,7 +47,6 @@ class MspGLObjectProperties(bpy.types.Panel): self.layout.prop(obj, "inherit_tech") if obj.inherit_tech: self.layout.prop(obj, "override_material") - self.layout.prop(obj, "material_tex") self.layout.prop(obj, "compound") self.layout.prop(obj, "lod_for_parent") if obj.lod_for_parent: @@ -93,7 +92,6 @@ def register_properties(): bpy.types.Object.technique = bpy.props.StringProperty(name="Technique", description="Name of the technique to use for rendering") bpy.types.Object.inherit_tech = bpy.props.BoolProperty(name="Inherit technique", description="Inherit from the technique to customize textures") bpy.types.Object.override_material = bpy.props.BoolProperty(name="Override material", description="Override material in the inherited technique as well", default=True) - bpy.types.Object.material_tex = bpy.props.BoolProperty(name="Material texture", description="Generate a texture based on material colors", default=False) bpy.types.Object.compound = bpy.props.BoolProperty(name="Compound with parent", description="Join this object to its parent when exporting") bpy.types.Object.lod_for_parent = bpy.props.BoolProperty(name="LoD for parent", description="This object is a level of detail for its parent") bpy.types.Object.lod_index = bpy.props.IntProperty(name="LoD index", description="Index of the level of detail", min=1, max=16, default=1)