[Bf-blender-cvs] [c793042] master: Fix T41840: bpy.context.object.collision.thickness_inner has no effect on cloth.

Bastien Montagne noreply at git.blender.org
Tue Sep 16 16:51:11 CEST 2014


Commit: c793042577a036f7668afc5bf31f42e4ad97dad1
Author: Bastien Montagne
Date:   Tue Sep 16 16:45:19 2014 +0200
Branches: master
https://developer.blender.org/rBc793042577a036f7668afc5bf31f42e4ad97dad1

Fix T41840: bpy.context.object.collision.thickness_inner has no effect on cloth.

Only change the tip to stress that, in fact, cloth sim does not use inner thickness at all,
only outer one, through the Collision modifier, afaik.

===================================================================

M	source/blender/makesrna/intern/rna_object_force.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_object_force.c b/source/blender/makesrna/intern/rna_object_force.c
index 84eb94c..8da8694 100644
--- a/source/blender/makesrna/intern/rna_object_force.c
+++ b/source/blender/makesrna/intern/rna_object_force.c
@@ -957,7 +957,7 @@ static void rna_def_collision(BlenderRNA *brna)
 	prop = RNA_def_property(srna, "thickness_inner", PROP_FLOAT, PROP_NONE);
 	RNA_def_property_float_sdna(prop, NULL, "pdef_sbift");
 	RNA_def_property_range(prop, 0.001f, 1.0f);
-	RNA_def_property_ui_text(prop, "Inner Thickness", "Inner face thickness");
+	RNA_def_property_ui_text(prop, "Inner Thickness", "Inner face thickness (only used by softbodies)");
 	RNA_def_property_update(prop, 0, "rna_CollisionSettings_update");
 	
 	prop = RNA_def_property(srna, "thickness_outer", PROP_FLOAT, PROP_NONE);




More information about the Bf-blender-cvs mailing list