[Bf-blender-cvs] [9fdf0cf] strand_gpu: Increase soft limit for control strand number for testing.

Lukas Tönne noreply at git.blender.org
Tue Jul 5 09:57:17 CEST 2016


Commit: 9fdf0cf086d86a451b6b1bc8fe504ed496bd7368
Author: Lukas Tönne
Date:   Mon Jul 4 10:00:42 2016 +0200
Branches: strand_gpu
https://developer.blender.org/rB9fdf0cf086d86a451b6b1bc8fe504ed496bd7368

Increase soft limit for control strand number for testing.

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

M	source/blender/editors/object/object_strands.c

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

diff --git a/source/blender/editors/object/object_strands.c b/source/blender/editors/object/object_strands.c
index f96439e..fffa351 100644
--- a/source/blender/editors/object/object_strands.c
+++ b/source/blender/editors/object/object_strands.c
@@ -115,7 +115,7 @@ void OBJECT_OT_strands_test_init(wmOperatorType *ot)
 	ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO | OPTYPE_INTERNAL;
 	edit_modifier_properties(ot);
 	
-	RNA_def_int(ot->srna, "amount", 100, 0, INT_MAX, "Amount", "Number of control curves to generate", 1, 10000);
+	RNA_def_int(ot->srna, "amount", 100, 0, INT_MAX, "Amount", "Number of control curves to generate", 1, 1000000);
 	RNA_def_int(ot->srna, "maxverts", 5, 0, INT_MAX, "Vertices", "Maximum number of vertices per strand", 1, 20);
 	RNA_def_int(ot->srna, "seed", 0, 0, INT_MAX, "Seed", "Seed value for randomization", 0, INT_MAX);
 }




More information about the Bf-blender-cvs mailing list