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>2013-10-12 18:09:05 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2013-10-12 18:09:05 +0400
commitd7983e3638896e5742fcf1bafe49c49a6b0aa08f (patch)
tree99470c4aa0896751b9955b5bdb3d3979db73aa91 /release/scripts/startup/bl_ui/properties_mask_common.py
parentf0dcff9aa982d32bcb91e594df49a780ac376b5b (diff)
Option to overlay mask over the footage
Currently supports only two modes: - Show alpha channel of the mask - Multiply footage by the mask, which will give you final-looking combined image. TODO: Currently rasterization happens on every redraw, need to cache rasterized mask somewhere to make redraw more realtime.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_mask_common.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_mask_common.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_mask_common.py b/release/scripts/startup/bl_ui/properties_mask_common.py
index aa4d671e938..45f3471ad35 100644
--- a/release/scripts/startup/bl_ui/properties_mask_common.py
+++ b/release/scripts/startup/bl_ui/properties_mask_common.py
@@ -222,6 +222,11 @@ class MASK_PT_display():
layout.prop(space_data, "mask_draw_type", text="")
layout.prop(space_data, "show_mask_smooth")
+ layout.prop(space_data, "show_mask_overlay")
+ row = layout.row()
+ row.active = space_data.show_mask_overlay
+ row.prop(space_data, "mask_overlay_mode", text="")
+
class MASK_PT_tools():
# subclasses must define...