Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/properties_particle.py
| Show First 20 Lines • Show All 1,667 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| col.separator() | col.separator() | ||||
| if part.child_type == 'INTERPOLATED': | if part.child_type == 'INTERPOLATED': | ||||
| col.prop(part, "virtual_parents", slider=True) | col.prop(part, "virtual_parents", slider=True) | ||||
| col.prop(part, "create_long_hair_children") | col.prop(part, "create_long_hair_children") | ||||
| else: | else: | ||||
| col.separator() | col.separator() | ||||
| sub = col.column(align=True) | sub = col.column(align=True) | ||||
| sub.prop(part, "child_size", text="Size") | sub.prop(part, "child_size", text="Scale") | ||||
| sub.prop(part, "child_size_random", text="Randomize Size", slider=True) | sub.prop(part, "child_size_random", text="Randomize Scale", slider=True) | ||||
| if part.child_type == 'SIMPLE': | if part.child_type == 'SIMPLE': | ||||
| col.separator() | col.separator() | ||||
| col.prop(part, "child_radius", text="Radius") | col.prop(part, "child_radius", text="Radius") | ||||
| col.prop(part, "child_roundness", text="Roundness", slider=True) | col.prop(part, "child_roundness", text="Roundness", slider=True) | ||||
| elif part.virtual_parents > 0.0: | elif part.virtual_parents > 0.0: | ||||
| sub = col.column(align=True) | sub = col.column(align=True) | ||||
| sub.label(text="Parting not available with virtual parents") | sub.label(text="Parting not available with virtual parents") | ||||
| ▲ Show 20 Lines • Show All 458 Lines • Show Last 20 Lines | |||||