GPencil: Create new set of brushes for Win32 damaged files when use primitives
authorAntonio Vazquez <blendergit@gmail.com>
Wed, 5 Jun 2019 07:57:21 +0000 (09:57 +0200)
committerAntonio Vazquez <blendergit@gmail.com>
Wed, 5 Jun 2019 07:57:21 +0000 (09:57 +0200)
commitd46aee298210282a9cdd8ddca7f5941cfa03e2f6
tree308951cd1058b6a56f2639afe2f4a5004411c785
parente80cbdac331a3f9b67217ed9fcb5235c447d0c0f
GPencil: Create new set of brushes for Win32 damaged files when use primitives

Some old Win32 files could have the brushes damaged and this produces a segment fault. Now, if the brush is damaged, a new set of brushes is created.

Related to T61413
source/blender/editors/gpencil/gpencil_primitive.c