]> git.tdb.fi Git - libs/gl.git/blobdiff - blender/io_mspgl/properties.py
Rename material map to material atlas in the exporter
[libs/gl.git] / blender / io_mspgl / properties.py
index e3806584fef8d7ddc276274e32d8b5c424aae7ed..df18d444be9819e7d89c3c5446cfc00401fa1a18 100644 (file)
@@ -73,7 +73,7 @@ class MspGLMaterialProperties(bpy.types.Panel):
                if mat.array_atlas:
                        self.layout.prop(mat, "array_layer")
                if mat.render_mode!='EXTERNAL':
-                       self.layout.prop(mat, "material_map")
+                       self.layout.prop(mat, "material_atlas")
 
 class MspGLTextureNodeProperties(bpy.types.Panel):
        bl_idname = "NODE_PT_mspgl_properties"
@@ -127,7 +127,7 @@ def register_properties():
        bpy.types.Material.shader = bpy.props.StringProperty(name="Custom shader", description="Name of an external technique to use for rendering")
        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_map = bpy.props.BoolProperty(name="Material map", description="Make this material part of a material map")
+       bpy.types.Material.material_atlas = bpy.props.BoolProperty(name="Material atlas", description="Make this material part of a material atlas")
 
        bpy.types.ShaderNodeTexImage.default_filter = bpy.props.BoolProperty(name="Default filter", description="Let the loading program determine filtering options")
        bpy.types.ShaderNodeTexImage.use_mipmap = bpy.props.BoolProperty(name="Use mipmaps", description="Use mipmaps (automatically generated) for the texture", default=True)