Fix T59913: error saving cloth preset
thx @rombout for investigation!
This commit is contained in:
parent
80281e34fd
commit
f572a157ba
Notes:
blender-bot
2023-02-14 06:57:56 +01:00
Referenced by issue #59913, Saving Cloth Preset gives error due to old code in presets.py Referenced by issue #59690, Error adding Cloth Preset [2.80] - no attribute Spring_damping
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue