X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=blender%2Fio_mspgl%2Fproperties.py;h=a5a24274dc648b0bc28a951a23361627098d1c93;hp=9b00a76c27f5c238e05ff9f17904ba9aef34bd79;hb=f2d504006ec97c7d84e8059c48f5a37e005ece5f;hpb=9ef77734bac36f2b16380ef3e131d3164fe241ce diff --git a/blender/io_mspgl/properties.py b/blender/io_mspgl/properties.py index 9b00a76c..a5a24274 100644 --- a/blender/io_mspgl/properties.py +++ b/blender/io_mspgl/properties.py @@ -119,8 +119,6 @@ class MspGLMaterialProperties(bpy.types.Panel): self.layout.prop(mat, "array_atlas") if mat.array_atlas: self.layout.prop(mat, "array_layer") - if mat.render_mode!='EXTERNAL': - self.layout.prop(mat, "material_atlas") if mat.render_mode=='CUSTOM': self.layout.separator() self.layout.label(text="Uniform values") @@ -272,7 +270,6 @@ def register_properties(): bpy.types.Material.image_based_lighting = bpy.props.BoolProperty(name="Image based lighting", description="Use an environment map for ambient lighting", default=False) bpy.types.Material.array_atlas = bpy.props.BoolProperty(name="Texture array atlas", description="The material is stored in a texture array") bpy.types.Material.array_layer = bpy.props.IntProperty("Texture array layer", description="Layer of the texture array atlas to use") - bpy.types.Material.material_atlas = bpy.props.BoolProperty(name="Material atlas", description="Make this material part of a material atlas") bpy.types.Material.uniforms = bpy.props.CollectionProperty(type=MspGLUniform, name="Uniforms", description="Uniform variables to add to the technique") bpy.types.Material.active_uniform_index = bpy.props.IntProperty("Active uniform index")