diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-11-07 18:07:13 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-11-07 18:07:13 +0400 |
commit | 67162306a7cb4e0ca4b38bec6f77de4f13c21571 (patch) | |
tree | 3e1c2d6d156a4e8b732920abc5d42e545f83326e /source/blender/makesrna/intern/rna_space.c | |
parent | 4c009dfe85bc9944861cc01d50b1898f24d61ddb (diff) |
Tweak for ui range of track size in 3d viewport
Patch by Sebastian Koenig, thanks!
Diffstat (limited to 'source/blender/makesrna/intern/rna_space.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_space.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c index 07723b34837..6545661cdf1 100644 --- a/source/blender/makesrna/intern/rna_space.c +++ b/source/blender/makesrna/intern/rna_space.c @@ -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); |