Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/properties_particle.py
| Show First 20 Lines • Show All 599 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| subsub.prop(part, "use_adaptive_subframes", text="") | subsub.prop(part, "use_adaptive_subframes", text="") | ||||
| if supports_courant and part.use_adaptive_subframes: | if supports_courant and part.use_adaptive_subframes: | ||||
| col.prop(part, "courant_target", text="Threshold") | col.prop(part, "courant_target", text="Threshold") | ||||
| row = layout.row() | row = layout.row() | ||||
| row.prop(part, "use_size_deflect") | row.prop(part, "use_size_deflect") | ||||
| row.prop(part, "use_die_on_collision") | row.prop(part, "use_die_on_collision") | ||||
| layout.prop(part, "collision_group") | |||||
| if part.physics_type == 'FLUID': | if part.physics_type == 'FLUID': | ||||
| fluid = part.fluid | fluid = part.fluid | ||||
| split = layout.split() | split = layout.split() | ||||
| sub = split.row() | sub = split.row() | ||||
| sub.prop(fluid, "solver", expand=True) | sub.prop(fluid, "solver", expand=True) | ||||
| split = layout.split() | split = layout.split() | ||||
| ▲ Show 20 Lines • Show All 787 Lines • Show Last 20 Lines | |||||