Blender Version
Broken: 2d35fed6f846 (blender2.8 HEAD)
Worked: never.
Short description of error
Assert when disabling a collection with an active grease pencil object in draw mode.
Exact steps for others to reproduce the error
Based on the default startup or an attached .blend file (as simple as possible).
- Delete all objects
- Add a stroke object to the default collection Collection.
- Go to Draw mode
- Disable the Collection
- Move the mouse around
BLI_assert failed: //source/blender/windowmanager/intern/wm_toolsystem.c:86, WM_toolsystem_ref_from_context(), at 'tref == sa->runtime.tool' assert
Full backtrace: P1023