[Bf-blender-cvs] [971419c] master: Reduced minimum for cloth solver substeps to 1.

Lukas Tönne noreply at git.blender.org
Tue Jan 20 09:49:38 CET 2015


Commit: 971419c27d43ebf0383c691bcf8def561a1837fc
Author: Lukas Tönne
Date:   Thu Sep 4 09:45:45 2014 +0200
Branches: master
https://developer.blender.org/rB971419c27d43ebf0383c691bcf8def561a1837fc

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