def draw(self, context):
    cloth = context.cloth.settings
    effector_weights_ui(self, cloth.effector_weights, 'CLOTH')
def draw(self, context):
    cloth = context.cloth.settings
    effector_weights_ui(self, cloth.effector_weights, 'CLOTH')