Cloth: Invalidate cache when sewing springs are toggled on or off.
This commit is contained in:
parent
7ecc159f37
commit
ae3f68109d
@ -535,6 +535,7 @@ static void rna_def_cloth_sim_settings(BlenderRNA *brna)
|
|||||||
RNA_def_property_boolean_sdna(prop, NULL, "flags", CLOTH_SIMSETTINGS_FLAG_SEW);
|
RNA_def_property_boolean_sdna(prop, NULL, "flags", CLOTH_SIMSETTINGS_FLAG_SEW);
|
||||||
RNA_def_property_ui_text(prop, "Sew Cloth", "Pulls loose edges together");
|
RNA_def_property_ui_text(prop, "Sew Cloth", "Pulls loose edges together");
|
||||||
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
|
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
|
||||||
|
RNA_def_property_update(prop, 0, "rna_cloth_update");
|
||||||
|
|
||||||
prop = RNA_def_property(srna, "vertex_group_bending", PROP_STRING, PROP_NONE);
|
prop = RNA_def_property(srna, "vertex_group_bending", PROP_STRING, PROP_NONE);
|
||||||
RNA_def_property_string_funcs(prop, "rna_ClothSettings_bend_vgroup_get", "rna_ClothSettings_bend_vgroup_length",
|
RNA_def_property_string_funcs(prop, "rna_ClothSettings_bend_vgroup_get", "rna_ClothSettings_bend_vgroup_length",
|
||||||
|
Loading…
Reference in New Issue
Block a user