[Bf-blender-cvs] [f572a157ba7] master: Fix T59913: error saving cloth preset
Philipp Oeser
noreply at git.blender.org
Thu Jan 10 15:55:18 CET 2019
Commit: f572a157ba7846940012271a030de89db0a93c33
Author: Philipp Oeser
Date: Thu Jan 10 15:52:34 2019 +0100
Branches: master
https://developer.blender.org/rBf572a157ba7846940012271a030de89db0a93c33
Fix T59913: error saving cloth preset
thx @rombout for investigation!
===================================================================
M release/scripts/startup/bl_operators/presets.py
===================================================================
diff --git a/release/scripts/startup/bl_operators/presets.py b/release/scripts/startup/bl_operators/presets.py
index 135148af790..1351dbbd42e 100644
--- a/release/scripts/startup/bl_operators/presets.py
+++ b/release/scripts/startup/bl_operators/presets.py
@@ -382,12 +382,18 @@ class AddPresetCloth(AddPresetBase, Operator):
]
preset_values = [
+ "cloth.settings.quality",
+ "cloth.settings.mass",
"cloth.settings.air_damping",
+ "cloth.settings.bending_model",
+ "cloth.settings.tension_stiffness",
+ "cloth.settings.compression_stiffness",
+ "cloth.settings.shear_stiffness",
"cloth.settings.bending_stiffness",
- "cloth.settings.mass",
- "cloth.settings.quality",
- "cloth.settings.spring_damping",
- "cloth.settings.structural_stiffness",
+ "cloth.settings.tension_damping",
+ "cloth.settings.compression_damping",
+ "cloth.settings.shear_damping",
+ "cloth.settings.bending_damping",
]
preset_subdir = "cloth"
More information about the Bf-blender-cvs
mailing list