diff options
author | Antonioya <blendergit@gmail.com> | 2018-08-25 00:59:56 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-08-25 01:04:40 +0300 |
commit | 1a7837596cb983fd3328eb680007147761f29f5b (patch) | |
tree | 9b5ca8f17bfaa1d7229f3687655ec490c18ed893 /source/blender/makesdna/DNA_brush_types.h | |
parent | 6901712734c306df6ff38ea8c64b442981545a2a (diff) |
GP: Select color in Brush or in Properties
After some artist feedback the material selection was not clear.
Now, the material can be selected in the top bar or in the properties panel.
1) If the material is selected in properties panel, all Brushes except pinned will be assigned to this material.
2) If the material is selected in the brush, the properties panel is updated to set the active material.
Added a new Pin icon to keep locked the material to one brush
Diffstat (limited to 'source/blender/makesdna/DNA_brush_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_brush_types.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_brush_types.h b/source/blender/makesdna/DNA_brush_types.h index dcb7fbd344b..09d5ec92859 100644 --- a/source/blender/makesdna/DNA_brush_types.h +++ b/source/blender/makesdna/DNA_brush_types.h @@ -117,7 +117,9 @@ typedef enum eGPDbrush_Flag { /* settings group */ GP_BRUSH_GROUP_SETTINGS = (1 << 11), /* Random settings group */ - GP_BRUSH_GROUP_RANDOM = (1 << 12) + GP_BRUSH_GROUP_RANDOM = (1 << 12), + /* Keep material assigned to brush */ + GP_BRUSH_MATERIAL_PINNED = (1 << 13) } eGPDbrush_Flag; /* BrushGpencilSettings->gp_fill_draw_mode */ |