Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2014-07-25 17:27:03 +0400
committerAntony Riakiotakis <kalast@gmail.com>2014-07-25 17:27:17 +0400
commit2e50b4dc511567a3dfb280e30b5606873fc62d31 (patch)
tree0b4be9c3bc597817dbb093c7bdb7fb94b515b4c6 /source
parentbae2b3a688a2c2ee3eb8457c62af3a10bae76131 (diff)
Minor changes:
* Changing UV map updates the UV editor. * UV Layer -> UV Map
Diffstat (limited to 'source')
-rw-r--r--source/blender/makesrna/intern/rna_material.c3
1 files changed, 2 insertions, 1 deletions
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");
+
}