diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-12-17 09:17:43 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-12-17 09:17:43 +0300 |
commit | 7fac1bfc203198583eb2e65caedec6b32c24484f (patch) | |
tree | 03799fed04d454aef2c6f0c44f15897c69767332 /source/blender/windowmanager | |
parent | c73958a100baa014ee71bbb0b612b1e2303b6d50 (diff) |
Context: remove active_gpencil_brush
We don't have this for other painting modes,
no need for a special case here.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/intern/wm_operators.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c index 439b4d4c75f..7c7b953087e 100644 --- a/source/blender/windowmanager/intern/wm_operators.c +++ b/source/blender/windowmanager/intern/wm_operators.c @@ -440,7 +440,6 @@ static const char *wm_context_member_from_ptr(bContext *C, const PointerRNA *ptr switch (GS(((ID *)ptr->id.data)->name)) { case ID_SCE: { - CTX_TEST_PTR_DATA_TYPE(C, "active_gpencil_brush", RNA_Brush, ptr, CTX_data_active_gpencil_brush(C)); CTX_TEST_PTR_ID(C, "scene", ptr->id.data); break; } |