diff options
author | Bastien Montagne <bastien@blender.org> | 2021-01-22 13:54:43 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2021-01-22 13:54:43 +0300 |
commit | ae4a4307557e80dd75d0d9773862a03b74cbe105 (patch) | |
tree | 5d4f9a4154a8e53aebab342053ce5b26fd0348c6 /source/blender/makesrna/intern | |
parent | 526373b89705b0401f41d31e7176498531f3f986 (diff) | |
parent | cd8893d4463ab8e076adcb2085d7f3eab8c3c926 (diff) |
Merge branch 'blender-v2.92-release'
Diffstat (limited to 'source/blender/makesrna/intern')
-rw-r--r-- | source/blender/makesrna/intern/rna_particle.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_particle.c b/source/blender/makesrna/intern/rna_particle.c index 05d7af6d436..c42d891c389 100644 --- a/source/blender/makesrna/intern/rna_particle.c +++ b/source/blender/makesrna/intern/rna_particle.c @@ -3656,6 +3656,8 @@ static void rna_def_particle_system(BlenderRNA *brna) RNA_def_property_string_funcs(prop, NULL, NULL, "rna_ParticleSystem_name_set"); RNA_def_struct_name_property(srna, prop); + RNA_define_lib_overridable(true); + /* access to particle settings is redirected through functions */ /* to allow proper id-buttons functionality */ prop = RNA_def_property(srna, "settings", PROP_POINTER, PROP_NONE); @@ -3715,7 +3717,6 @@ static void rna_def_particle_system(BlenderRNA *brna) prop = RNA_def_property(srna, "reactor_target_object", PROP_POINTER, PROP_NONE); RNA_def_property_pointer_sdna(prop, NULL, "target_ob"); RNA_def_property_flag(prop, PROP_EDITABLE); - RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY); RNA_def_property_ui_text(prop, "Reactor Target Object", "For reactor systems, the object that has the target particle system " @@ -3993,6 +3994,8 @@ static void rna_def_particle_system(BlenderRNA *brna) prop, "Timestep", "The current simulation time step size, as a fraction of a frame"); RNA_def_property_clear_flag(prop, PROP_EDITABLE); + RNA_define_lib_overridable(false); + RNA_def_struct_path_func(srna, "rna_ParticleSystem_path"); /* extract cached hair location data */ |