Minor changes:

* Changing UV map updates the UV editor.
* UV Layer -> UV Map
This commit is contained in:
Antonis Ryakiotakis 2014-07-25 15:27:03 +02:00
parent bae2b3a688
commit 2e50b4dc51
2 changed files with 3 additions and 2 deletions

View File

@ -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="")

View File

@ -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");
}