diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-11-22 14:33:44 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-11-22 14:33:44 +0300 |
commit | 8b84cc2ab65790604722eeaba89a34095d2e7259 (patch) | |
tree | 323e68193444a1bed8c83603db701fa1fb221e15 /release/scripts/op/presets.py | |
parent | 771406df94356b3d400b40125c9e8d5961513ccd (diff) |
use context member rather then modifier name in presets
Diffstat (limited to 'release/scripts/op/presets.py')
-rw-r--r-- | release/scripts/op/presets.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/release/scripts/op/presets.py b/release/scripts/op/presets.py index dbc7b71b916..64c709b08ae 100644 --- a/release/scripts/op/presets.py +++ b/release/scripts/op/presets.py @@ -72,12 +72,12 @@ class AddPresetCloth(AddPresetBase): name = AddPresetBase.name preset_values = [ - "bpy.context.active_object.modifiers['Cloth'].settings.quality", - "bpy.context.active_object.modifiers['Cloth'].settings.mass", - "bpy.context.active_object.modifiers['Cloth'].settings.structural_stiffness", - "bpy.context.active_object.modifiers['Cloth'].settings.bending_stiffness", - "bpy.context.active_object.modifiers['Cloth'].settings.spring_damping", - "bpy.context.active_object.modifiers['Cloth'].settings.air_damping", + "bpy.context.cloth.settings.quality", + "bpy.context.cloth.settings.mass", + "bpy.context.cloth.settings.structural_stiffness", + "bpy.context.cloth.settings.bending_stiffness", + "bpy.context.cloth.settings.spring_damping", + "bpy.context.cloth.settings.air_damping", ] preset_path = os.path.join("presets", "cloth") |