Fix hair_step is a short
This commit is contained in:
parent
15e8fbd549
commit
12651aba03
@ -2363,7 +2363,7 @@ 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)");
|
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);
|
prop = RNA_def_property(srna, "hair_step", PROP_INT, PROP_NONE);
|
||||||
RNA_def_property_range(prop, 2, INT_MAX);
|
RNA_def_property_range(prop, 2, SHRT_MAX);
|
||||||
RNA_def_property_ui_range(prop, 2, 50, 1, 1);
|
RNA_def_property_ui_range(prop, 2, 50, 1, 1);
|
||||||
RNA_def_property_ui_text(prop, "Segments", "Number of hair segments");
|
RNA_def_property_ui_text(prop, "Segments", "Number of hair segments");
|
||||||
RNA_def_property_update(prop, 0, "rna_Particle_reset");
|
RNA_def_property_update(prop, 0, "rna_Particle_reset");
|
||||||
|
Loading…
Reference in New Issue
Block a user