diff options
author | Antonioya <blendergit@gmail.com> | 2018-12-14 18:45:57 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-12-14 18:52:12 +0300 |
commit | 780f0f646da1aac01dc3164fd7d493426aca9e19 (patch) | |
tree | 453cb60e732399e22279e8eee7a1c9725416c427 /source/blender/makesrna/intern/rna_sculpt_paint.c | |
parent | a1c8595b090254c1270bb66118304186a3add913 (diff) |
GP: Rename CTX and OB modes
Part of T59335.
Diffstat (limited to 'source/blender/makesrna/intern/rna_sculpt_paint.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_sculpt_paint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_sculpt_paint.c b/source/blender/makesrna/intern/rna_sculpt_paint.c index 8cda9677057..8ee542fcc51 100644 --- a/source/blender/makesrna/intern/rna_sculpt_paint.c +++ b/source/blender/makesrna/intern/rna_sculpt_paint.c @@ -342,7 +342,7 @@ static bool rna_Brush_mode_with_tool_poll(PointerRNA *ptr, PointerRNA value) if (slot_index != brush->gpencil_tool) { return false; } - mode = OB_MODE_GPENCIL_PAINT; + mode = OB_MODE_PAINT_GPENCIL; } return brush->ob_mode & mode; |