[Bf-blender-cvs] [07c66bb] temp_merge_gooseberry_hair: Reduced minimum for cloth solver substeps to 1.

Lukas Tönne noreply at git.blender.org
Mon Jan 19 20:48:05 CET 2015


Commit: 07c66bb9590278b6d6c98f1ea93c4510a8f4a76c
Author: Lukas Tönne
Date:   Thu Sep 4 09:45:45 2014 +0200
Branches: temp_merge_gooseberry_hair
https://developer.blender.org/rB07c66bb9590278b6d6c98f1ea93c4510a8f4a76c

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