[Bf-blender-cvs] [c8e446e1ca7] master: Fix T61453: crash rendering after selecting particle settings datablock.

Brecht Van Lommel noreply at git.blender.org
Tue Feb 12 19:01:28 CET 2019


Commit: c8e446e1ca766cf54490a2810242f5b401f5b87f
Author: Brecht Van Lommel
Date:   Tue Feb 12 18:59:45 2019 +0100
Branches: master
https://developer.blender.org/rBc8e446e1ca766cf54490a2810242f5b401f5b87f

Fix T61453: crash rendering after selecting particle settings datablock.

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

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 7abfe80bd74..7ceee878b06 100644
--- a/source/blender/makesrna/intern/rna_particle.c
+++ b/source/blender/makesrna/intern/rna_particle.c
@@ -3301,7 +3301,7 @@ static void rna_def_particle_system(BlenderRNA *brna)
 	RNA_def_property_flag(prop, PROP_EDITABLE | PROP_NEVER_NULL);
 	RNA_def_property_pointer_funcs(prop, "rna_particle_settings_get", "rna_particle_settings_set", NULL, NULL);
 	RNA_def_property_ui_text(prop, "Settings", "Particle system settings");
-	RNA_def_property_update(prop, 0, "rna_Particle_reset");
+	RNA_def_property_update(prop, 0, "rna_Particle_reset_dependency");
 
 	prop = RNA_def_property(srna, "particles", PROP_COLLECTION, PROP_NONE);
 	RNA_def_property_collection_sdna(prop, NULL, "particles", "totpart");



More information about the Bf-blender-cvs mailing list