def draw(self, context): part = particle_get_settings(context) effector_weights_ui(self, context, part.effector_weights) if part.type == 'HAIR': row = self.layout.row() row.prop(part.effector_weights, "apply_to_hair_growing") row.prop(part, "apply_effector_to_children") row = self.layout.row() row.prop(part, "effect_hair", slider=True)
def draw(self, context): md = context.soft_body softbody = md.settings effector_weights_ui(self, context, softbody.effector_weights)
def draw(self, context): cloth = context.cloth.settings effector_weights_ui(self, context, cloth.effector_weights)
def draw(self, context): domain = context.smoke.domain_settings effector_weights_ui(self, context, domain.effector_weights)
def draw(self, context): part = context.particle_system.settings effector_weights_ui(self, context, part.effector_weights) if part.type == 'HAIR': self.layout.prop(part.effector_weights, "apply_to_hair_growing")