diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-11-14 03:52:17 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-11-14 03:55:02 +0300 |
commit | c279f879ab86e03dff0dbfd3a36b14bebb4956f9 (patch) | |
tree | 18d4dda46a3275267c8c17a2018c1c007c6ad26d /source/blender/editors/interface | |
parent | 2b3b481c3d6553e7a4dd90efc25518fe8e1a5bc6 (diff) |
Paint: remove brush select paint_mode
Instead check which property has been set.
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r-- | source/blender/editors/interface/interface_region_tooltip.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_region_tooltip.c b/source/blender/editors/interface/interface_region_tooltip.c index 8d7d67fb69f..6bdcdf57f47 100644 --- a/source/blender/editors/interface/interface_region_tooltip.c +++ b/source/blender/editors/interface/interface_region_tooltip.c @@ -476,7 +476,6 @@ static uiTooltipData *ui_tooltip_data_from_tool(bContext *C, uiBut *but, bool is wmOperatorType *ot = WM_operatortype_find("paint.brush_select", true); PointerRNA op_props; WM_operator_properties_create_ptr(&op_props, ot); - RNA_enum_set(&op_props, "paint_mode", paint_mode); RNA_enum_set(&op_props, tool_attr, items[i].value); /* Check for direct access to the tool. */ |