def draw(self, context): part = context.particle_system.settings effector_weights_ui(self, part.effector_weights) if part.type == 'HAIR': self.layout.itemR(part.effector_weights, "do_growing_hair")
def draw(self, context): md = context.soft_body softbody = md.settings effector_weights_ui(self, softbody.effector_weights)
def draw(self, context): domain = context.smoke.domain_settings effector_weights_ui(self, domain.effector_weights)
def draw(self, context): cloth = context.cloth.settings effector_weights_ui(self, cloth.effector_weights)