diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-03-20 01:25:39 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-03-20 01:32:40 +0300 |
commit | 3f818c7898af20eed05b05e911a697a25287c432 (patch) | |
tree | 74715f36df2a0b26e6e4f52b7ed6d0e27316f336 /release/scripts/startup/bl_ui/properties_physics_cloth.py | |
parent | 4137f30928dcfda4539d3d80df2c3e079eed12ec (diff) | |
parent | df76616d7450b99938f265283fad443186da4039 (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_physics_cloth.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_physics_cloth.py | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_physics_cloth.py b/release/scripts/startup/bl_ui/properties_physics_cloth.py index 54581c9276d..6ada3c59942 100644 --- a/release/scripts/startup/bl_ui/properties_physics_cloth.py +++ b/release/scripts/startup/bl_ui/properties_physics_cloth.py @@ -258,5 +258,17 @@ class PHYSICS_PT_cloth_field_weights(PhysicButtonsPanel, Panel): cloth = context.cloth.settings effector_weights_ui(self, context, cloth.effector_weights, 'CLOTH') +classes = ( + CLOTH_MT_presets, + PHYSICS_PT_cloth, + PHYSICS_PT_cloth_cache, + PHYSICS_PT_cloth_collision, + PHYSICS_PT_cloth_stiffness, + PHYSICS_PT_cloth_sewing, + PHYSICS_PT_cloth_field_weights, +) + if __name__ == "__main__": # only for live edit. - bpy.utils.register_module(__name__) + from bpy.utils import register_class + for cls in classes: + register_class(cls) |