Fix T61453: crash rendering after selecting particle settings datablock.
This commit is contained in:
parent
70c5699734
commit
c8e446e1ca
Notes:
blender-bot
2023-06-21 19:23:24 +02:00
Referenced by issue #61453, Crash: Cycles render Particles System
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue