diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-04-30 22:57:51 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-04-30 22:58:35 +0300 |
commit | b93a76fe7554001ef2f1780296aa85aa88da306e (patch) | |
tree | 2f44cc5ac76d6d9c9c0935e7a16cdbbfb55c19f8 | |
parent | 7770d38303183af93dea9e5212751a137c991df6 (diff) |
Add missing tools to vertex paint
-rw-r--r-- | release/scripts/startup/bl_ui/space_toolsystem_toolbar.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py index c5ce693f50a..5312aac4764 100644 --- a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py +++ b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py @@ -73,6 +73,8 @@ def generate_from_brushes_ex( for tool_def in tools_from_brush_group(category) ) # Ensure we use all types. + if brush_categories: + print(brush_categories) assert(len(brush_categories) == 0) return tool_defs @@ -562,7 +564,7 @@ class _defs_vertex_paint: 'ADD', 'SUB', 'MUL', 'LIGHTEN', 'DARKEN', 'COLORDODGE', 'DIFFERENCE', 'SCREEN', 'HARDLIGHT', 'OVERLAY', 'SOFTLIGHT', 'EXCLUSION', 'LUMINOCITY', - 'SATURATION', 'HUE', + 'SATURATION', 'HUE', 'ERASE_ALPHA', 'ADD_ALPHA', ), ) ) |