diff options
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d_toolbar.py | 2 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_material.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py index 00a0c23decf..53de1dc50fd 100644 --- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py +++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py @@ -1084,7 +1084,7 @@ class VIEW3D_PT_slots_projectpaint(View3DPanel, Panel): slot = mat.texture_paint_slots[mat.paint_active_slot] col.separator() - col.label("UV Layer") + col.label("UV Map") col.prop_search(slot, "uv_layer", ob.data, "uv_textures", text="") diff --git a/source/blender/makesrna/intern/rna_material.c b/source/blender/makesrna/intern/rna_material.c index bd870685a73..5cbbb2bcabf 100644 --- a/source/blender/makesrna/intern/rna_material.c +++ b/source/blender/makesrna/intern/rna_material.c @@ -2210,7 +2210,8 @@ static void rna_def_tex_slot(BlenderRNA *brna) RNA_def_property_string_maxlength(prop, 64); /* else it uses the pointer size! */ RNA_def_property_string_sdna(prop, NULL, "uvname"); RNA_def_property_ui_text(prop, "UV Map", "Name of UV map"); - RNA_def_property_update(prop, 0, "rna_Material_update"); + RNA_def_property_update(prop, NC_GEOM | ND_DATA, "rna_Material_update"); + } |