**System Information**
Operating system: win 7
Graphics card: Vega 64
Full System Information: [[ https://developer.blender.org/p/Christopher_Anderssarian/ | Here ]]
**Blender Version**
Broken: -69b2f5268114-windows32
Works: -69b2f5268114-windows64
**Short description of error**
32-Bit Blender crashes when drawing with grease pencil.
**Exact steps for others to reproduce the error**
- Open Blender
- New --> 2D Animation
At which point I get this:
{F6581340}
- Select a brush and start drawing
- Switch to eraser and crash
___
This file was saved in the 32-bit version:
{F6578602}
Open and start drawing and erasing.
___
Here's the log from ` --debug --factory-startup`
```
location: <unknown location>:-1
Traceback (most recent call last):
File "N:\Temp\Blender\blender-2.80.0-git.69b2f5268114-windows32\2.80\scripts\startup\bl_ui\space_topbar.py", line 94, in draw
self.draw_left(context)
File "N:\Temp\Blender\blender-2.80.0-git.69b2f5268114-windows32\2.80\scripts\startup\bl_ui\space_topbar.py", line 119, in draw_left
draw_fn(context, layout, tool)
File "N:\Temp\Blender\blender-2.80.0-git.69b2f5268114-windows32\2.80\scripts\startup\bl_ui\space_topbar.py", line 353, in PAINT_GPENCIL
draw_color_selector()
File "N:\Temp\Blender\blender-2.80.0-git.69b2f5268114-windows32\2.80\scripts\startup\bl_ui\space_topbar.py", line 323, in draw_color_selector
ma = gp_settings.material
AttributeError: 'NoneType' object has no attribute 'material'
```
Issues:
- [x] {icon circle color=red} Invalid brushes for Draw, Fill, Erase causes crash. rBb8dc7e9cb844
- [x] x64
- [x] x86
- [ ] {icon circle color=red} Invalid brushes for Primitives causes crash.
- [ ] x64
- [ ] x86
- [ ] {icon circle color=yellow} Application template loads invalid brushes.
- [ ] {icon circle color=yellow} .blend files can load invalid brushes