diff options
Diffstat (limited to 'source/blender/makesrna/intern/rna_particle.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_particle.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_particle.c b/source/blender/makesrna/intern/rna_particle.c index cb74055ae83..8c3d16f9c8c 100644 --- a/source/blender/makesrna/intern/rna_particle.c +++ b/source/blender/makesrna/intern/rna_particle.c @@ -281,7 +281,10 @@ static void rna_Particle_uv_on_emitter(ParticleData *particle, ParticleSystemModifierData *modifier, float r_uv[2]) { - /*psys_particle_on_emitter(psmd, part->from, pa->num, pa->num_dmcache, pa->fuv, pa->foffset, co, nor, 0, 0, sd.orco, 0);*/ +# if 0 + psys_particle_on_emitter( + psmd, part->from, pa->num, pa->num_dmcache, pa->fuv, pa->foffset, co, nor, 0, 0, sd.orco, 0); +# endif /* get uvco & mcol */ int num = particle->num_dmcache; @@ -2279,7 +2282,8 @@ static void rna_def_particle_settings(BlenderRNA *brna) "rna_Particle_reset", NULL); - /* fluid particle type can't be checked from the type value in rna as it's not shown in the menu */ + /* Fluid particle type can't be checked from the type value in RNA + * as it's not shown in the menu. */ prop = RNA_def_property(srna, "is_fluid", PROP_BOOLEAN, PROP_NONE); RNA_def_property_clear_flag(prop, PROP_EDITABLE); RNA_def_property_boolean_funcs(prop, "rna_PartSettings_is_fluid_get", NULL); @@ -2790,7 +2794,8 @@ static void rna_def_particle_settings(BlenderRNA *brna) RNA_def_property_update(prop, 0, "rna_Particle_reset"); prop = RNA_def_property(srna, "effector_amount", PROP_INT, PROP_UNSIGNED); - /* in theory PROP_ANIMATABLE perhaps should be cleared, but animating this can give some interesting results! */ + /* In theory PROP_ANIMATABLE perhaps should be cleared, + * but animating this can give some interesting results! */ RNA_def_property_range(prop, 0, 10000); /* 10000 effectors will bel SLOW, but who knows */ RNA_def_property_ui_range(prop, 0, 100, 1, -1); RNA_def_property_ui_text( |