[Bf-blender-cvs] [dd4504e] hair_immediate_fixes: Reduced minimum for cloth solver substeps to 1.

Lukas Tönne noreply at git.blender.org
Thu Sep 4 10:33:36 CEST 2014


Commit: dd4504e895af1552038ac932599f668bccb8bea6
Author: Lukas Tönne
Date:   Thu Sep 4 09:45:45 2014 +0200
Branches: hair_immediate_fixes
https://developer.blender.org/rBdd4504e895af1552038ac932599f668bccb8bea6

Reduced minimum for cloth solver substeps to 1.

This is not very useful for artists, but helps with debugging.

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

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 4b2d2da..5d911dd 100644
--- a/source/blender/makesrna/intern/rna_cloth.c
+++ b/source/blender/makesrna/intern/rna_cloth.c
@@ -387,7 +387,7 @@ static void rna_def_cloth_sim_settings(BlenderRNA *brna)
 
 	prop = RNA_def_property(srna, "quality", PROP_INT, PROP_NONE);
 	RNA_def_property_int_sdna(prop, NULL, "stepsPerFrame");
-	RNA_def_property_range(prop, 4, 80);
+	RNA_def_property_range(prop, 1, 80);
 	RNA_def_property_ui_text(prop, "Quality",
 	                         "Quality of the simulation in steps per frame (higher is better quality but slower)");
 	RNA_def_property_update(prop, 0, "rna_cloth_update");




More information about the Bf-blender-cvs mailing list