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
diff options
context:
space:
mode:
authorMatt Ebb <matt@mke3.net>2009-12-14 02:51:41 +0300
committerMatt Ebb <matt@mke3.net>2009-12-14 02:51:41 +0300
commita4d52bd0fd180e2934ebed21a7d2aab84cc5b5a9 (patch)
tree0321ee1ae540ee49e9d60f04ca5cda23fee9cbac /source/blender/makesrna/intern/rna_particle.c
parent3f612b6ea5b15b0a868f1472053378949722c88a (diff)
patch [#20342] Notifier patch for modifier rename and particle system rename
by 'ThatHaze'. thanks!
Diffstat (limited to 'source/blender/makesrna/intern/rna_particle.c')
-rw-r--r--source/blender/makesrna/intern/rna_particle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_particle.c b/source/blender/makesrna/intern/rna_particle.c
index 4ff42bbb7c2..c5b1aafb1a3 100644
--- a/source/blender/makesrna/intern/rna_particle.c
+++ b/source/blender/makesrna/intern/rna_particle.c
@@ -1904,6 +1904,7 @@ static void rna_def_particle_system(BlenderRNA *brna)
prop= RNA_def_property(srna, "name", PROP_STRING, PROP_NONE);
RNA_def_property_ui_text(prop, "Name", "Particle system name.");
+ RNA_def_property_update(prop, NC_OBJECT|ND_MODIFIER|NA_RENAME, NULL);
RNA_def_struct_name_property(srna, prop);
/* access to particle settings is redirected through functions */