Fix T59913: error saving cloth preset

thx @rombout for investigation!
This commit is contained in:
2019-01-10 15:52:34 +01:00
parent 80281e34fd
commit f572a157ba

View File

@@ -382,12 +382,18 @@ class AddPresetCloth(AddPresetBase, Operator):
]
preset_values = [
"cloth.settings.air_damping",
"cloth.settings.bending_stiffness",
"cloth.settings.mass",
"cloth.settings.quality",
"cloth.settings.spring_damping",
"cloth.settings.structural_stiffness",
"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.tension_damping",
"cloth.settings.compression_damping",
"cloth.settings.shear_damping",
"cloth.settings.bending_damping",
]
preset_subdir = "cloth"