diff options
Diffstat (limited to 'release/scripts/ui/properties_physics_cloth.py')
-rw-r--r-- | release/scripts/ui/properties_physics_cloth.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/release/scripts/ui/properties_physics_cloth.py b/release/scripts/ui/properties_physics_cloth.py index d483bf8f804..305244bf918 100644 --- a/release/scripts/ui/properties_physics_cloth.py +++ b/release/scripts/ui/properties_physics_cloth.py @@ -28,7 +28,7 @@ from properties_physics_common import effector_weights_ui def cloth_panel_enabled(md): return md.point_cache.baked is False - + class CLOTH_MT_presets(bpy.types.Menu): ''' @@ -83,10 +83,10 @@ class PHYSICS_PT_cloth(PhysicButtonsPanel): if md: cloth = md.settings - layout.active = cloth_panel_enabled(md) - split = layout.split() + split.active = cloth_panel_enabled(md) + col = split.column() col.label(text="Presets:") @@ -227,7 +227,7 @@ class PHYSICS_PT_cloth_field_weights(PhysicButtonsPanel): def draw(self, context): cloth = context.cloth.settings effector_weights_ui(self, context, cloth.effector_weights) - + bpy.types.register(CLOTH_MT_presets) bpy.types.register(PHYSICS_PT_cloth) |