Page MenuHome

Sculpt Tools (not brushes) treated like brushes
Open, Needs Triage by DeveloperPublic


System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: Radeon RX 580 Series ATI Technologies Inc. 4.5.13570 Core Profile Context 19.8.1 26.20.13001.29010

Blender Version
Broken: version: 2.81 (sub 10), branch: master, commit date: 2019-09-11 21:31, hash: rB1e375ab5a104

Short description of error
If you use any brush and then switch to Mesh Filter or any Transformation Tool, Box Mask.....
the info of the previous brush is still there. Fox example:

  • You choose the mask brush
  • Then switch to mesh filter
  • Mesh filter still has the data of the mask brush and is treated like a mask brush

This is true because if you create some tool or addon that filter some option only for mask brush with

context.tool_settings.sculpt.brush == 'MASK'


self.paint_settings(context).brush == 'MASK'  #using UnifiedPaintPanel

when switching to mesh filter or any other mentioned, you still can see those options

This ends up that devs have to make a previous pass to filter all tools that are not brushes and are treated like if they were (before filter by brush type)

if"SCULPT", create=False).idname == "builtin.mesh_filter":  exclude = True

or filter all brushes by idname of the tool and not by brush type

Probably there's a better way to filter those tools but the matter is they are treated like brushes, not only internally, also visually in the UI... when they aren't