Tweak for ui range of track size in 3d viewport
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 7 Nov 2013 14:07:13 +0000 (14:07 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 7 Nov 2013 14:07:13 +0000 (14:07 +0000)
Patch by Sebastian Koenig, thanks!

source/blender/makesrna/intern/rna_space.c

index 07723b348379f1176cd377e4675a157e63d063eb..6545661cdf1121dc15d43b2c1e3c533909581367 100644 (file)
@@ -2071,6 +2071,7 @@ static void rna_def_space_view3d(BlenderRNA *brna)
 
        prop = RNA_def_property(srna, "tracks_draw_size", PROP_FLOAT, PROP_NONE);
        RNA_def_property_range(prop, 0.0, FLT_MAX);
+       RNA_def_property_ui_range(prop, 0, 5, 1, 3);
        RNA_def_property_float_sdna(prop, NULL, "bundle_size");
        RNA_def_property_ui_text(prop, "Tracks Size", "Display size of tracks from reconstructed data");
        RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL);