From e6daa161ddb98e5dac6df0ed5f88e2f8c0d13522 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 4 Aug 2017 09:11:26 +0200 Subject: Tracking: Remove limit of 50 points of the track history Was quite stupid reason for this: static size of array. Now we allocate needed amount of points in heap if requested path length is getting too big. --- source/blender/makesrna/intern/rna_space.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/makesrna') diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c index f2e856bf1ba..7a1b5bb678b 100644 --- a/source/blender/makesrna/intern/rna_space.c +++ b/source/blender/makesrna/intern/rna_space.c @@ -4605,7 +4605,7 @@ static void rna_def_space_clip(BlenderRNA *brna) /* path length */ prop = RNA_def_property(srna, "path_length", PROP_INT, PROP_NONE); RNA_def_property_int_sdna(prop, NULL, "path_length"); - RNA_def_property_range(prop, 0, 50); + RNA_def_property_range(prop, 0, INT_MAX); RNA_def_property_ui_text(prop, "Path Length", "Length of displaying path, in frames"); RNA_def_property_update(prop, NC_SPACE | ND_SPACE_CLIP, NULL); -- cgit v1.2.3