[Bf-blender-cvs] [a9ab0c1a7c4] blender2.8: Depsgraph: Tag relations for update when particle dupli-collection changes

Sergey Sharybin noreply at git.blender.org
Tue Jun 26 11:27:45 CEST 2018


Commit: a9ab0c1a7c4b2c8ef4beab2d4f24536b84b82422
Author: Sergey Sharybin
Date:   Tue Jun 26 11:27:21 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBa9ab0c1a7c4b2c8ef4beab2d4f24536b84b82422

Depsgraph: Tag relations for update when particle dupli-collection changes

===================================================================

M	source/blender/makesrna/intern/rna_particle.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_particle.c b/source/blender/makesrna/intern/rna_particle.c
index 0ebdab0c5bd..08bc373b690 100644
--- a/source/blender/makesrna/intern/rna_particle.c
+++ b/source/blender/makesrna/intern/rna_particle.c
@@ -3085,7 +3085,7 @@ static void rna_def_particle_settings(BlenderRNA *brna)
 	RNA_def_property_struct_type(prop, "Collection");
 	RNA_def_property_flag(prop, PROP_EDITABLE);
 	RNA_def_property_ui_text(prop, "Dupli Collection", "Show Objects in this collection in place of particles");
-	RNA_def_property_update(prop, 0, "rna_Particle_redo");
+	RNA_def_property_update(prop, 0, "rna_Particle_redo_dependency");
 
 	prop = RNA_def_property(srna, "dupli_weights", PROP_COLLECTION, PROP_NONE);
 	RNA_def_property_collection_sdna(prop, NULL, "dupliweights", NULL);



More information about the Bf-blender-cvs mailing list