Commit: f1355d0b45cf8c0d170c9ad0fdf7f36ef8ac1585 Author: Mai Lavelle Date: Tue Apr 14 19:00:17 2015 +0500 Branches: master https://developer.blender.org/rBf1355d0b45cf8c0d170c9ad0fdf7f36ef8ac1585
Second round of hair random rotation limited to 180 degrees This time roll back to originally discussed in the code review page approach with simply bumping UI range for the property. It's still not totally free from forward compatibility breaking (which is already broken comparing to previous release) but at least it'll keep files working inbetween of git blender versions in cases random factor was not set above 2.0. Differential Revision: https://developer.blender.org/D1214 =================================================================== 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 029563a..c0ce8f2 100644 --- a/source/blender/makesrna/intern/rna_particle.c +++ b/source/blender/makesrna/intern/rna_particle.c @@ -2720,7 +2720,7 @@ static void rna_def_particle_settings(BlenderRNA *brna) prop = RNA_def_property(srna, "phase_factor_random", PROP_FLOAT, PROP_NONE); RNA_def_property_float_sdna(prop, NULL, "randphasefac"); - RNA_def_property_range(prop, 0.0f, 1.0f); + RNA_def_property_range(prop, 0.0f, 2.0f); RNA_def_property_ui_text(prop, "Random Phase", "Randomize rotation around the chosen orientation axis"); RNA_def_property_update(prop, 0, "rna_Particle_reset"); _______________________________________________ Bf-blender-cvs mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-blender-cvs
