diff options
Diffstat (limited to 'release/scripts/presets/cloth/cotton.py')
-rw-r--r-- | release/scripts/presets/cloth/cotton.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/release/scripts/presets/cloth/cotton.py b/release/scripts/presets/cloth/cotton.py index 27717495e99..7fe8b890b38 100644 --- a/release/scripts/presets/cloth/cotton.py +++ b/release/scripts/presets/cloth/cotton.py @@ -1,6 +1,6 @@ -bpy.context.active_object.modifiers['Cloth'].settings.quality = 5 -bpy.context.active_object.modifiers['Cloth'].settings.mass = 0.300 -bpy.context.active_object.modifiers['Cloth'].settings.structural_stiffness = 15.000 -bpy.context.active_object.modifiers['Cloth'].settings.bending_stiffness = 0.500 -bpy.context.active_object.modifiers['Cloth'].settings.spring_damping = 5.000 -bpy.context.active_object.modifiers['Cloth'].settings.air_damping = 1.000 +bpy.context.cloth.settings.quality = 5 +bpy.context.cloth.settings.mass = 0.300 +bpy.context.cloth.settings.structural_stiffness = 15.000 +bpy.context.cloth.settings.bending_stiffness = 0.500 +bpy.context.cloth.settings.spring_damping = 5.000 +bpy.context.cloth.settings.air_damping = 1.000 |