diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-07-30 07:46:19 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-07-30 08:14:26 +0300 |
commit | 362b3bbe58ae378d5e154dd1a27d55d913594a1a (patch) | |
tree | b3e9f3258623ed91abb11755f3808deff4d17323 /release/scripts/startup/bl_ui/properties_physics_cloth.py | |
parent | 7a4353160cc5b5e71dde234c7db95302b4233918 (diff) |
Cloth Simulation: add time scale property
This setting can also be animated, to create a "time warp" effect.
D2122 by @LucaRood
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_physics_cloth.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_physics_cloth.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_physics_cloth.py b/release/scripts/startup/bl_ui/properties_physics_cloth.py index d3b2a9fd149..3ebf2691b4c 100644 --- a/release/scripts/startup/bl_ui/properties_physics_cloth.py +++ b/release/scripts/startup/bl_ui/properties_physics_cloth.py @@ -75,6 +75,11 @@ class PHYSICS_PT_cloth(PhysicButtonsPanel, Panel): split.label(text="Quality:") split.prop(cloth, "quality", text="Steps") + split = layout.split(percentage=0.25) + + split.label(text="Speed:") + split.prop(cloth, "time_scale", text="Multiplier") + split = layout.split() col = split.column() |