**System Information**
Operating system: Windows 10
Graphics card: Radeon RX 580
**Blender Version**
Broken: 2.79, 2.91.0
Worked: I don't have any older versions than 2.79 installed.
**Short description of error**
Most of the brushes show a warning if you attempt to access either their direction or gpencil_weight_tool attributes.
```
'WARN (bpy.rna): C:\b\buildbot-worker-windows\windows_lts_283\blender.git\source\blender\python\intern\bpy_rna.c:1479 pyrna_enum_to_py: current value '0' matches no enum in 'Brush', 'Add', 'direction''
```
I've attached a text file containing all the warnings I've been able to pinpoint in brushes.
{F9386809}
**Exact steps for others to reproduce the error**
Open scripting window and type:
```
D.brushes['Add'].direction
```