[Bf-blender-cvs] [ae3f681] master: Cloth: Invalidate cache when sewing springs are toggled on or off.
Alexander Gavrilov
noreply at git.blender.org
Fri May 6 11:07:04 CEST 2016
Commit: ae3f68109d18e572831675aebba72e0557bd5be4
Author: Alexander Gavrilov
Date: Mon Apr 18 18:46:32 2016 +0300
Branches: master
https://developer.blender.org/rBae3f68109d18e572831675aebba72e0557bd5be4
Cloth: Invalidate cache when sewing springs are toggled on or off.
===================================================================
M source/blender/makesrna/intern/rna_cloth.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_cloth.c b/source/blender/makesrna/intern/rna_cloth.c
index b75a3f0..c91b648 100644
--- a/source/blender/makesrna/intern/rna_cloth.c
+++ b/source/blender/makesrna/intern/rna_cloth.c
@@ -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_ui_text(prop, "Sew Cloth", "Pulls loose edges together");
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);
RNA_def_property_string_funcs(prop, "rna_ClothSettings_bend_vgroup_get", "rna_ClothSettings_bend_vgroup_length",
More information about the Bf-blender-cvs
mailing list