diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-11-08 13:02:47 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-11-08 13:02:47 +0400 |
commit | be5ef51b731655b5c0473ea5601d7a6b5e6b8e3f (patch) | |
tree | e7ea16a1ab939aed9ee0f73efe6ec98c0f511327 /source/blender/makesrna/intern/rna_tracking.c | |
parent | 23dfb8a156c8e6a11cdd27c0e789008b008b0c0c (diff) |
use some more logical BLI math functions & tracking used INT_MAX on a short.
Diffstat (limited to 'source/blender/makesrna/intern/rna_tracking.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_tracking.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_tracking.c b/source/blender/makesrna/intern/rna_tracking.c index 15ded001237..f8bdeef379f 100644 --- a/source/blender/makesrna/intern/rna_tracking.c +++ b/source/blender/makesrna/intern/rna_tracking.c @@ -242,7 +242,7 @@ static void rna_def_trackingSettings(BlenderRNA *brna) prop= RNA_def_property(srna, "frames_limit", PROP_INT, PROP_NONE); RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); RNA_def_property_int_sdna(prop, NULL, "frames_limit"); - RNA_def_property_range(prop, 0, INT_MAX); + RNA_def_property_range(prop, 0, SHRT_MAX); RNA_def_property_ui_text(prop, "Frames Limit", "Amount of frames to be tracked during single tracking operation"); /* adjust frames */ |