Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2011-12-30 14:20:29 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-12-30 14:20:29 +0400
commitc21cfb4fcdea919e9dac50cd7784cd4902695f1d (patch)
tree0091e7fa14c72af959cf07fbb6013261824cf242 /source/blender/makesrna
parent90760b9f877beba7eeb159d369406feb91feff03 (diff)
parente98e8acf1a00ec4fb1adf0c4e30bc687cfc8efad (diff)
Camera tracking: improvements of track preview widget
- Enable bicybic filtering fir image displayed in track preview - Option to show grayscale content of track preview - When some channels are disabled, display exactly the same content of preview image which is sending to tracker library. Merged from tomato branch using command: svn merge -r42382:42383 -r42384:42385 -r42394:42395 \ -r42397:42398 -r42398:42399 -r42406:42407 \ -r42410:42411 -r42417:42418 -r42471:42472 \ ^/branches/soc-2011-tomato
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r--source/blender/makesrna/intern/rna_tracking.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_tracking.c b/source/blender/makesrna/intern/rna_tracking.c
index 2fdf733752b..9b7e8be68be 100644
--- a/source/blender/makesrna/intern/rna_tracking.c
+++ b/source/blender/makesrna/intern/rna_tracking.c
@@ -673,6 +673,12 @@ static void rna_def_trackingTrack(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);
+ /* preview_grayscale */
+ prop= RNA_def_property(srna, "use_grayscale_preview", PROP_BOOLEAN, PROP_NONE);
+ RNA_def_property_boolean_sdna(prop, NULL, "flag", TRACK_PREVIEW_GRAYSCALE);
+ RNA_def_property_ui_text(prop, "Grayscale", "Display what the tracking algorithm sees in the preview");
+ RNA_def_property_update(prop, NC_MOVIECLIP|ND_DISPLAY, NULL);
+
/* has bundle */
prop= RNA_def_property(srna, "has_bundle", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "flag", TRACK_HAS_BUNDLE);