Minor changes:
authorAntony Riakiotakis <kalast@gmail.com>
Fri, 25 Jul 2014 13:27:03 +0000 (15:27 +0200)
committerAntony Riakiotakis <kalast@gmail.com>
Fri, 25 Jul 2014 13:27:17 +0000 (15:27 +0200)
* Changing UV map updates the UV editor.
* UV Layer -> UV Map

release/scripts/startup/bl_ui/space_view3d_toolbar.py
source/blender/makesrna/intern/rna_material.c

index 00a0c23decf453ba7c09057286427c0b5761ae38..53de1dc50fd7102c0de7fb17d18482212d097a00 100644 (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="")
 
 
index bd870685a737662359fc0afaff1b0ca220c6fbd6..5cbbb2bcabfdc071fca2963fe9e5a7cf2c598234 100644 (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");
+
 }