Skip to content

Commit

Permalink
UPBGE: Allow soft body cluster and position iteration to 1000.
Browse files Browse the repository at this point in the history
  • Loading branch information
panzergame committed Sep 28, 2017
1 parent 772eb75 commit 6c7862b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/blender/makesrna/intern/rna_object_force.c
Original file line number Diff line number Diff line change
Expand Up @@ -1533,12 +1533,12 @@ static void rna_def_game_softbody(BlenderRNA *brna)

prop = RNA_def_property(srna, "location_iterations", PROP_INT, PROP_NONE);
RNA_def_property_int_sdna(prop, NULL, "piterations");
RNA_def_property_range(prop, 0, 10);
RNA_def_property_range(prop, 0, 1000);
RNA_def_property_ui_text(prop, "Position Iterations", "Position solver iterations");

prop = RNA_def_property(srna, "cluster_iterations", PROP_INT, PROP_NONE);
RNA_def_property_int_sdna(prop, NULL, "numclusteriterations");
RNA_def_property_range(prop, 1, 128);
RNA_def_property_range(prop, 1, 1000);
RNA_def_property_ui_text(prop, "Cluster Iterations", "Number of cluster iterations");

/* Booleans */
Expand Down

0 comments on commit 6c7862b

Please sign in to comment.