Fix T51297: Use A Higher Hair Segment Limit

Normally, segments up to 50 can be quite enough for most cases.
However, when dealing with things like braids,
the current limit can sometimes be quite a pain.
This commit is contained in:
Aaron Carlisle 2017-05-15 14:29:59 -04:00
parent 5319571511
commit 4621583612
Notes: blender-bot 2023-02-14 09:33:11 +01:00
Referenced by issue #51297, Use A Higher Hair Segment Limit
1 changed files with 2 additions and 1 deletions

View File

@ -2363,7 +2363,8 @@ static void rna_def_particle_settings(BlenderRNA *brna)
RNA_def_property_ui_text(prop, "Render", "How many steps paths are rendered with (power of 2)");
prop = RNA_def_property(srna, "hair_step", PROP_INT, PROP_NONE);
RNA_def_property_range(prop, 2, 50);
RNA_def_property_range(prop, 2, INT_MAX);
RNA_def_property_ui_range(prop, 2, 50, 1, -1);
RNA_def_property_ui_text(prop, "Segments", "Number of hair segments");
RNA_def_property_update(prop, 0, "rna_Particle_reset");