diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-02-19 16:42:32 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-02-19 16:43:36 +0400 |
commit | 57b62881f45993e4431ef8a7a2d3dec041e8cf36 (patch) | |
tree | 3badfc74d2b82817a4b18ff221a371a45ff2d9aa /source/blender/makesrna/intern | |
parent | bff99b10a3084b4df4aecfd54a186cc7a5f8b3e8 (diff) |
Added track weight to presets
Useful for cases when you need to create bunch of witness tracks.
Diffstat (limited to 'source/blender/makesrna/intern')
-rw-r--r-- | source/blender/makesrna/intern/rna_tracking.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_tracking.c b/source/blender/makesrna/intern/rna_tracking.c index 8cb82643b87..289556b5862 100644 --- a/source/blender/makesrna/intern/rna_tracking.c +++ b/source/blender/makesrna/intern/rna_tracking.c @@ -930,6 +930,10 @@ static void rna_def_trackingSettings(BlenderRNA *brna) RNA_def_property_ui_text(prop, "Use Blue Channel", "Use blue channel from footage for tracking"); RNA_def_property_update(prop, NC_MOVIECLIP | ND_DISPLAY, NULL); + prop = RNA_def_property(srna, "default_weight", PROP_FLOAT, PROP_FACTOR); + RNA_def_property_range(prop, 0.0f, 1.0f); + RNA_def_property_ui_text(prop, "Weight", "Influence of newly created track on a final solution"); + /* ** object tracking ** */ /* object distance */ |