WIP: Vulkan: Workbench #107886
|
@ -1720,7 +1720,7 @@ class PARTICLE_PT_children(ParticleButtonsPanel, Panel):
|
|||
col = layout.column()
|
||||
|
||||
sub = col.column(align=True)
|
||||
sub.prop(part, "child_nbr", text="Display Amount")
|
||||
sub.prop(part, "child_percent", text="Display Amount")
|
||||
sub.prop(part, "rendered_child_count", text="Render Amount")
|
||||
|
||||
col.separator()
|
||||
|
|
|
@ -3144,9 +3144,7 @@ static void rna_def_particle_settings(BlenderRNA *brna)
|
|||
|
||||
/* children */
|
||||
|
||||
/* NOTE(@ideasman42): name is not following conventions: `nbr`.
|
||||
* Could be changed next major version. */
|
||||
prop = RNA_def_property(srna, "child_nbr", PROP_INT, PROP_NONE);
|
||||
prop = RNA_def_property(srna, "child_percent", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(
|
||||
prop, NULL, "child_percent"); /* Optional if prop names are the same. */
|
||||
RNA_def_property_range(prop, 0, 100000);
|
||||
|
|
Loading…
Reference in New Issue