Add a toggle button to display motion tracker previews in grayscale.

This commit is contained in:
Keir Mierle
2011-12-04 12:58:31 +00:00
parent 4e0b4de0bf
commit d00bb6dd56
4 changed files with 43 additions and 38 deletions

View File

@@ -353,9 +353,15 @@ class CLIP_PT_track(Panel):
layout.template_track(sc, "scopes")
row = layout.row(align=True)
row.prop(act_track, "use_red_channel", text="R", toggle=True)
row.prop(act_track, "use_green_channel", text="G", toggle=True)
row.prop(act_track, "use_blue_channel", text="B", toggle=True)
sub = row.row()
sub.prop(act_track, "use_red_channel", text="R", toggle=True)
sub.prop(act_track, "use_green_channel", text="G", toggle=True)
sub.prop(act_track, "use_blue_channel", text="B", toggle=True)
row.separator()
sub = row.row()
sub.prop(act_track, "preview_grayscale", text="B/W", toggle=True)
layout.separator()