diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-04-04 18:33:41 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-04-04 18:33:41 +0400 |
commit | 97454d7b85e2be0259318e73a8d4ec662eb75985 (patch) | |
tree | 5740303bab516ac57c9b49545a4e6f869273908c /source/blender/makesrna/intern/rna_object_force.c | |
parent | cddd6a56dd55c811bed08249d64d6797e62068ec (diff) |
no functional changes. use sizeof() and MAXFRAME
Diffstat (limited to 'source/blender/makesrna/intern/rna_object_force.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_object_force.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_object_force.c b/source/blender/makesrna/intern/rna_object_force.c index 56f6792bdf1..238098e85e2 100644 --- a/source/blender/makesrna/intern/rna_object_force.c +++ b/source/blender/makesrna/intern/rna_object_force.c @@ -679,12 +679,12 @@ static void rna_def_pointcache(BlenderRNA *brna) prop= RNA_def_property(srna, "frame_start", PROP_INT, PROP_TIME); RNA_def_property_int_sdna(prop, NULL, "startframe"); - RNA_def_property_range(prop, 1, 300000); + RNA_def_property_range(prop, 1, MAXFRAME); RNA_def_property_ui_text(prop, "Start", "Frame on which the simulation starts"); prop= RNA_def_property(srna, "frame_end", PROP_INT, PROP_TIME); RNA_def_property_int_sdna(prop, NULL, "endframe"); - RNA_def_property_range(prop, 1, 300000); + RNA_def_property_range(prop, 1, MAXFRAME); RNA_def_property_ui_text(prop, "End", "Frame on which the simulation stops"); prop= RNA_def_property(srna, "step", PROP_INT, PROP_NONE); |