diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-04-23 11:06:29 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-04-23 11:06:29 +0400 |
commit | 53917c4e3a9afc243a7bc374950b8ed51d4659d6 (patch) | |
tree | 3b53b09921814dd4f809a902b5b24368759aa6fa /source/blender/makesrna/intern/rna_particle.c | |
parent | 511451c8b87f9ab07df15ee36592f1071101b2d0 (diff) |
rna attribute consistency edits, use common prefix for booleans.
Diffstat (limited to 'source/blender/makesrna/intern/rna_particle.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_particle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_particle.c b/source/blender/makesrna/intern/rna_particle.c index 2c4f970a1f5..9208f1273fc 100644 --- a/source/blender/makesrna/intern/rna_particle.c +++ b/source/blender/makesrna/intern/rna_particle.c @@ -1623,7 +1623,7 @@ static void rna_def_fluid_settings(BlenderRNA *brna) RNA_def_property_ui_text(prop, "Factor Repulsion", "Repulsion is a factor of stiffness"); RNA_def_property_update(prop, 0, "rna_Particle_reset"); - prop = RNA_def_property(srna, "factor_density", PROP_BOOLEAN, PROP_NONE); + prop = RNA_def_property(srna, "use_factor_density", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flag", SPH_FAC_DENSITY); RNA_def_property_ui_text(prop, "Factor Density", "Density is calculated as a factor of default density (depends on particle size)"); @@ -2499,7 +2499,7 @@ static void rna_def_particle_settings(BlenderRNA *brna) RNA_def_property_ui_text(prop, "Timestep", "The simulation timestep per frame (seconds per frame)"); RNA_def_property_update(prop, 0, "rna_Particle_reset"); - prop = RNA_def_property(srna, "adaptive_subframes", PROP_BOOLEAN, PROP_NONE); + prop = RNA_def_property(srna, "use_adaptive_subframes", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "time_flag", PART_TIME_AUTOSF); RNA_def_property_ui_text(prop, "Automatic Subframes", "Automatically set the number of subframes"); RNA_def_property_update(prop, 0, "rna_Particle_reset"); |